Sha256: 1f35083fd0d03a086f2242644a8d6f12d3beeae525f928acf77fad054333c902

Contents?: true

Size: 192 Bytes

Versions: 32

Compression:

Stored size: 192 Bytes

Contents

Then /^the "(.+)" select should have "(.+)" selected$/ do |input, value|
  response_body.to_s.should have_xpath("//select[@name='#{input}']//option[contains(.,'#{value}')][@selected]")
end


Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
visage-app-0.2.6 features/step_definitions/form_steps.rb
visage-app-0.2.5 features/step_definitions/form_steps.rb
visage-app-0.2.4 features/step_definitions/form_steps.rb
visage-app-0.2.3 features/step_definitions/form_steps.rb
visage-app-0.2.2 features/step_definitions/form_steps.rb
visage-app-0.2.1 features/step_definitions/form_steps.rb
visage-app-0.2.0 features/step_definitions/form_steps.rb
visage-app-0.1.8 features/step_definitions/form_steps.rb
visage-app-0.1.7 features/step_definitions/form_steps.rb
visage-app-0.1.6 features/step_definitions/form_steps.rb
visage-app-0.1.5 features/step_definitions/form_steps.rb
visage-app-0.1.0 features/step_definitions/form_steps.rb