Skip to content

Commit

Permalink
Fix: rubocop - use assert_operator
Browse files Browse the repository at this point in the history
  • Loading branch information
benkoshy committed Sep 25, 2023
1 parent 6e6b302 commit ff4cd69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/pagy/console_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ module PagyConsole
_(Pagy::DEFAULT[:url]).must_equal 'http://www.example.com/subdir'
end
it 'includes Pagy::Backend and Pagy::Frontend' do
assert PagyConsole <= Pagy::Backend
assert PagyConsole <= Pagy::Frontend
assert_operator(PagyConsole, :<, Pagy::Backend)
assert_operator(PagyConsole, :<, Pagy::Frontend)
end
it 'requires extras' do
_ { PagyConsole.pagy_extras :array, :navs }.must_output "Required extras: :array, :navs\n"
Expand Down

0 comments on commit ff4cd69

Please sign in to comment.