Sha256: c507b1b4d7e8129fd1ebd643a397b8e69c204bbf317847928b756743dde6e9de

Contents?: true

Size: 279 Bytes

Versions: 15

Compression:

Stored size: 279 Bytes

Contents

Then /^I should not see pagination$/ do
  page.should_not have_css(".pagination")
end

Then /^I should see pagination with (\d+) pages$/ do |count|
  Then %{I should see "#{count}" within ".pagination a"}
  Then %{I should not see "#{count.to_i + 1}" within ".pagination a"}
end

Version data entries

15 entries across 15 versions & 4 rubygems

Version Path
andrewroth_activeadmin-0.3.4.3 features/step_definitions/pagination_steps.rb
andrewroth_activeadmin-0.3.4.2 features/step_definitions/pagination_steps.rb
andrewroth_activeadmin-0.3.4.1 features/step_definitions/pagination_steps.rb
andrewroth_activeadmin-0.3.4 features/step_definitions/pagination_steps.rb
activeadmin-0.3.4 features/step_definitions/pagination_steps.rb
activeadmin-0.3.3 features/step_definitions/pagination_steps.rb
activeadmin-0.3.2 features/step_definitions/pagination_steps.rb
activeadmin-0.3.1 features/step_definitions/pagination_steps.rb
activeadmin-0.3.0 features/step_definitions/pagination_steps.rb
nsm-activeadmin-0.2.2 features/step_definitions/pagination_steps.rb
saulolso-activeadmin-0.2.2.1 features/step_definitions/pagination_steps.rb
saulolso-activeadmin-0.2.2 features/step_definitions/pagination_steps.rb
activeadmin-0.2.2 features/step_definitions/pagination_steps.rb
activeadmin-0.2.1 features/step_definitions/pagination_steps.rb
activeadmin-0.2.0 features/step_definitions/pagination_steps.rb