Sha256: 01cebcccf5d28d15744eedcfa469425807e942dbf2184d49abd949bea8023723

Contents?: true

Size: 281 Bytes

Versions: 16

Compression:

Stored size: 281 Bytes

Contents

Then 'the element "$css" should exist' do |css|
  doc = Nokogiri::HTML(last_response.body)
  doc.at(css).should be_present
end

Then 'the element "$css" should have inner text "$text"' do |css, text|
  doc = Nokogiri::HTML(last_response.body)
  doc.at(css).text.should == text
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
landable-1.13.1 features/step_definitions/html_steps.rb
landable-1.12.3 features/step_definitions/html_steps.rb
landable-1.12.2 features/step_definitions/html_steps.rb
landable-1.12.1 features/step_definitions/html_steps.rb
landable-1.11.1 features/step_definitions/html_steps.rb
landable-1.11.0 features/step_definitions/html_steps.rb
landable-1.10.0.rc2 features/step_definitions/html_steps.rb
landable-1.10.0.rc1 features/step_definitions/html_steps.rb
landable-1.9.2 features/step_definitions/html_steps.rb
landable-1.9.1 features/step_definitions/html_steps.rb
landable-1.9.0 features/step_definitions/html_steps.rb
landable-1.9.0.rc2 features/step_definitions/html_steps.rb
landable-1.9.0.rc1 features/step_definitions/html_steps.rb
landable-1.8.0 features/step_definitions/html_steps.rb
landable-1.7.1.rc1 features/step_definitions/html_steps.rb
landable-1.7.0 features/step_definitions/html_steps.rb