Prefer assert_not over refute

This commit is contained in:
Rafael Mendonça França 2015-05-18 19:33:25 -03:00
parent 7145986e88
commit d4cfd54308
2 changed files with 2 additions and 2 deletions

@ -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