Permalink
Browse files

adjust tests for recent coffee script

  • Loading branch information...
1 parent 828ec5f commit aa2d5f458121c71c831f86637498ac869e65b2f5 @rkh rkh committed Dec 30, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/coffee_test.rb
View
@@ -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_equal "alert('Aye!');", body.gsub(/\s/, '')
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_equal "alert('Aye!');", body.gsub(/\s/, '')
end
end

0 comments on commit aa2d5f4

Please sign in to comment.