Skip to content

Commit

Permalink
Fix asset test
Browse files Browse the repository at this point in the history
  • Loading branch information
guilleiguaran committed Apr 4, 2012
1 parent 4e1338c commit 6bae101
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/assets_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def teardown
@app.assets["coffee-script"].write_to("#{tmp_path}/coffee-script.js")

assert_match "/lib/assets/javascripts/coffee-script.js.erb", @app.assets["coffee-script"].pathname.to_s
assert_match "this.CoffeeScript", File.open("#{tmp_path}/coffee-script.js").read
assert_match "CoffeeScript Compiler", File.open("#{tmp_path}/coffee-script.js").read
end

def tmp_path
Expand Down

0 comments on commit 6bae101

Please sign in to comment.