Sha256: 44ae0862ddd9c030ad2ba88e03b2ac826e6d105578816db0361192336e999e97

Contents?: true

Size: 459 Bytes

Versions: 7

Compression:

Stored size: 459 Bytes

Contents

require "active_support/inflector"
require "active_support/core_ext/object/to_query"

When %r{^I visit the test page for "([^"]*)"$} do |feature|
  visit "/#{feature.parameterize '_'}"
end

When %r{^I visit the test page for "([^"]*)" with options "([^"]*)"?$} do |feature, options|
  visit "/#{feature.parameterize '_'}?" + {options: options}.to_query
end

When %r{^I fill in "([^"]*)" with "([^"]*)"$} do |input, value|
  fill_in input, :with => value
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
da-js-1.2.1 features/step_definitions/shared_steps.rb
da-js-1.2.0 features/step_definitions/shared_steps.rb
da-js-1.1.2 features/step_definitions/shared_steps.rb
da-js-1.1.1 features/step_definitions/shared_steps.rb
da-js-1.1.0 features/step_definitions/shared_steps.rb
da-js-1.0.0 features/step_definitions/shared_steps.rb
da-js-0.2.0 features/step_definitions/shared_steps.rb