fix pagination test
This commit is contained in:
@@ -41,8 +41,8 @@ class EntriesControllerTest < ActionDispatch::IntegrationTest
|
||||
test "should paginate results" do
|
||||
get entries_url, params: { page: 2 }
|
||||
assert_response :success
|
||||
assert_not_nil assigns(:pagy)
|
||||
assert_select "div", text: /Displaying/i
|
||||
assert_select "a", text: "Previous"
|
||||
assert_select "a", text: "Next"
|
||||
end
|
||||
|
||||
test "should handle invalid language code" do
|
||||
|
||||
Reference in New Issue
Block a user