Skip to content

Commit

Permalink
Update unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkowz committed Aug 17, 2016
1 parent 257595c commit a6bdd28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/kaminari_spec.rb
Expand Up @@ -112,7 +112,7 @@ def app; subject; end
it 'ensures :per_page is within :max_value' do
get('/', page: 1, per_page: 1_000)
expect(last_response.status).to eq 400
expect(last_response.body).to match /per_page must be less than 999/
expect(last_response.body).to match /per_page must be less than or equal 999/
end

it 'defaults :offset to customized value' do
Expand Down

0 comments on commit a6bdd28

Please sign in to comment.