From c1beb74a9f79a5d4bdf1950b5ffa91b7ca15cf9e Mon Sep 17 00:00:00 2001 From: John Bintz Date: Sat, 7 May 2011 09:16:23 -0400 Subject: [PATCH] autotest fixes --- lib/autotest/jasmine_mixin.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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