Class: CheckIn::Text
- Inherits:
-
Object
- Object
- CheckIn::Text
- Includes:
- RSpec::Expectations, RSpec::Matchers
- Defined in:
- lib/cucumber/pickles/steps/check_in/text.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(label, value, within) ⇒ Text
constructor
A new instance of Text.
Constructor Details
Instance Method Details
#call ⇒ Object
12 13 14 15 |
# File 'lib/cucumber/pickles/steps/check_in/text.rb', line 12 def call expect(@within).to have_content(@value) expect(@within).to have_content(@label) end |