features/step_definitions/pagination_steps.rb in activeadmin-1.0.0.pre1 vs features/step_definitions/pagination_steps.rb in activeadmin-1.0.0.pre2
- old
+ new
@@ -3,5 +3,13 @@
end
Then /^I should see pagination with (\d+) pages$/ do |count|
expect(page).to have_css '.pagination span.page', count: count
end
+
+Then /^I should see the pagination "Next" link/ do
+ expect(page).to have_css "a", text: "Next"
+end
+
+Then /^I should not see the pagination "Next" link/ do
+ expect(page).to_not have_css "a", text: "Next"
+end