diff --git a/lib/jasmine/headless/coffee_script_cache.rb b/lib/jasmine/headless/coffee_script_cache.rb index 5ae5efe..dc387c3 100644 --- a/lib/jasmine/headless/coffee_script_cache.rb +++ b/lib/jasmine/headless/coffee_script_cache.rb @@ -14,6 +14,11 @@ module Jasmine def action CoffeeScript.compile(File.read(file)) end + + def relative_cache_file + super.gsub(/.coffee$/, '') + end + end end end