From e45ab7d4a8e49f0b507d4a6ba6f535da6b285872 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Tue, 5 Nov 2013 14:51:32 +0100 Subject: [PATCH] fix rspec reloaders --- lib/autospec/rspec_runner.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/autospec/rspec_runner.rb b/lib/autospec/rspec_runner.rb index fe5f23703e8..08677b331b1 100644 --- a/lib/autospec/rspec_runner.rb +++ b/lib/autospec/rspec_runner.rb @@ -27,9 +27,9 @@ module Autospec def reloaders; RELOADERS; end # We need to reload the whole app when changing any of these files - reload('spec/spec_helper.rb') - reload('config/(.*).rb') - reload('app/helpers/(.*).rb') + reload("spec/spec_helper.rb") + reload(%r{config/.+\.rb}) + reload(%r{app/helpers/.+\.rb}) def failed_specs specs = []