Permalink
Browse files

Fix CoffeeScriptFilter spec

  • Loading branch information...
dudleyf committed Jul 9, 2012
1 parent 6429a30 commit 786547780aa5c49900b1c1769567ea683f8a50df
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/coffee_script_filter_spec.rb
@@ -102,7 +102,7 @@ def setup_filter(filter)
tasks = filter.generate_rake_tasks
lambda {
tasks.each(&:invoke)
- }.should raise_error(ExecJS::RuntimeError, /Error compiling input.coffee. reserved word "function" on line 1/i)
+ }.should raise_error(ExecJS::RuntimeError, /Error compiling input.coffee.+line 1/i)
end
end

0 comments on commit 7865477

Please sign in to comment.