Prefer assert_not over refute
This commit is contained in:
parent
7145986e88
commit
d4cfd54308
@ -24,7 +24,7 @@ def call(env)
|
||||
get 'foo', to: SimpleApp.new('foo#index')
|
||||
end
|
||||
|
||||
refute empty?
|
||||
assert_not empty?
|
||||
end
|
||||
|
||||
test "url helpers are added when route is added" do
|
||||
|
@ -14,7 +14,7 @@ def test_clear
|
||||
requirements = { :hello => /world/ }
|
||||
|
||||
routes.add_route nil, path, requirements, {:id => nil}, {}
|
||||
refute routes.empty?
|
||||
assert_not routes.empty?
|
||||
assert_equal 1, routes.length
|
||||
|
||||
routes.clear
|
||||
|
Loading…
Reference in New Issue
Block a user