Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #404 from lest/coffee-test-fix

coffee test: strip body in equal assertions
  • Loading branch information...
commit 84aac7690ce32853cc82301a6a6cabbc701b80b7 2 parents deeec38 + 8d788de
@rkh rkh authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/coffee_test.rb
View
4 test/coffee_test.rb
@@ -71,7 +71,7 @@ def coffee_app(options = {}, &block)
it "passes coffee options to the coffee engine" do
coffee_app { coffee "alert 'Aye!'\n", :no_wrap => true }
assert ok?
- assert_equal "alert('Aye!');", body
+ assert_body "alert('Aye!');"
end
it "passes default coffee options to the coffee engine" do
@@ -83,7 +83,7 @@ def coffee_app(options = {}, &block)
end
get '/'
assert ok?
- assert_equal "alert('Aye!');", body
+ assert_body "alert('Aye!');"
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.