Sha256: 4564126e66aed61792e8ca50dc97d310fb6abebbaf1fa05a5961fe27b6bdc1ff

Contents?: true

Size: 577 Bytes

Versions: 54

Compression:

Stored size: 577 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 => "Search #{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

54 entries across 54 versions & 2 rubygems

Version Path
lalala-4.0.0.dev.59 vendor/deps/active_admin/features/step_definitions/filter_steps.rb
lalala-4.0.0.dev.58 vendor/deps/active_admin/features/step_definitions/filter_steps.rb
lalala-4.0.0.dev.57 vendor/deps/active_admin/features/step_definitions/filter_steps.rb
lalala-4.0.0.dev.56 vendor/deps/active_admin/features/step_definitions/filter_steps.rb
lalala-4.0.0.dev.50 vendor/deps/active_admin/features/step_definitions/filter_steps.rb
lalala-4.0.0.dev.46 vendor/deps/active_admin/features/step_definitions/filter_steps.rb
activeadmin-0.5.1 features/step_definitions/filter_steps.rb
activeadmin-0.5.0 features/step_definitions/filter_steps.rb
activeadmin-0.5.0.pre1 features/step_definitions/filter_steps.rb
activeadmin-0.5.0.pre features/step_definitions/filter_steps.rb
activeadmin-0.4.4 features/step_definitions/filter_steps.rb
activeadmin-0.4.3 features/step_definitions/filter_steps.rb
activeadmin-0.4.2 features/step_definitions/filter_steps.rb
activeadmin-0.4.1 features/step_definitions/filter_steps.rb