diff --git a/lib/autotest/jasmine_mixin.rb b/lib/autotest/jasmine_mixin.rb index 71e73b5..b501924 100644 --- a/lib/autotest/jasmine_mixin.rb +++ b/lib/autotest/jasmine_mixin.rb @@ -86,11 +86,11 @@ module JasmineMixin } add_mapping(%r{public/javascripts/(.*)\.js}) { |_, m| - files_matching(%{spec/javascripts/#{m[1]}_spec\..*$}) + files_matching(%r{spec/javascripts/#{m[1]}_spec\..*$}) } add_mapping(%r{app/coffeescripts/(.*)\.coffee}) { |_, m| - files_matching(%{spec/javascripts/#{m[1]}_spec\..*$}) + files_matching(%r{spec/javascripts/#{m[1]}_spec\..*$}) } end