Sha256: de6a91af0ceec8ed830795de757ef9ab7c83be8614aee71710e10e1f45bb8e66

Contents?: true

Size: 564 Bytes

Versions: 12

Compression:

Stored size: 564 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

12 entries across 12 versions & 3 rubygems

Version Path
activeadmin-0.6.6 features/step_definitions/filter_steps.rb
activeadmin-0.6.5 features/step_definitions/filter_steps.rb
activeadmin-0.6.4 features/step_definitions/filter_steps.rb
yousty-activeadmin-1.0.4.pre features/step_definitions/filter_steps.rb
yousty-activeadmin-1.0.3.pre features/step_definitions/filter_steps.rb
yousty-activeadmin-1.0.2.pre features/step_definitions/filter_steps.rb
activeadmin-0.6.3 features/step_definitions/filter_steps.rb
yousty-activeadmin-1.0.1.pre features/step_definitions/filter_steps.rb
yousty-activeadmin-1.0.0.pre features/step_definitions/filter_steps.rb
activeadmin-0.6.2 features/step_definitions/filter_steps.rb
activeadmin-0.6.1 features/step_definitions/filter_steps.rb
aa-rails4-0.6.0 features/step_definitions/filter_steps.rb