Sha256: 21b67326f148517599fd0a7ee16f75bb7b426d32f86e4bffb8543043fb60cee2

Contents?: true

Size: 555 Bytes

Versions: 5

Compression:

Stored size: 555 Bytes

Contents

Then /^I should see a select filter for "([^"]*)"$/ do |label|
  page.should have_css(".filter_select label", text: label)
end

Then /^I should see a string filter for "([^"]*)"$/ do |label|
  page.should have_css(".filter_string label", text: label)
end

Then /^I should see a date range filter for "([^"]*)"$/ do |label|
  page.should have_css(".filter_date_range label", text: label)
end

Then /^I should see the following filters:$/ do |table|
  table.rows_hash.each do |label, type|
    step %{I should see a #{type} filter for "#{label}"}
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
active_administration-0.0.3 features/step_definitions/filter_steps.rb
activeadministration-0.0.2 features/step_definitions/filter_steps.rb
active_administration-0.0.2 features/step_definitions/filter_steps.rb
activeadministration-0.0.1 features/step_definitions/filter_steps.rb
active_administration-0.0.1 features/step_definitions/filter_steps.rb