Skip to content

Commit

Permalink
:nailcare:
Browse files Browse the repository at this point in the history
  • Loading branch information
amatsuda committed Feb 25, 2015
1 parent 0bf8da1 commit 781543f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/traceroute_test.rb
Expand Up @@ -46,7 +46,7 @@ def test_dont_fail_when_envvar_not_set
traceroute = Traceroute.new Rails.application
traceroute.load_everything!

ENV['FAIL_ON_ERROR']=""
ENV['FAIL_ON_ERROR'] = ""
Rake::Task[:traceroute].execute
end

Expand Down Expand Up @@ -86,7 +86,7 @@ def test_rake_task_fails_when_unused_route_detected
traceroute = Traceroute.new Rails.application

begin
ENV['FAIL_ON_ERROR']="1"
ENV['FAIL_ON_ERROR'] = "1"
Rake::Task[:traceroute].execute
rescue => e
assert_includes e.message, "Unused routes or unreachable action methods detected."
Expand All @@ -97,4 +97,4 @@ def teardown
Rake::Task.clear
DummyApp::Application.routes.clear!
end
end
end

0 comments on commit 781543f

Please sign in to comment.