fix rspec reloaders

This commit is contained in:
Régis Hanol 2013-11-05 14:51:32 +01:00
parent 7923d4d170
commit e45ab7d4a8
1 changed files with 3 additions and 3 deletions

View File

@ -27,9 +27,9 @@ module Autospec
def reloaders; RELOADERS; end def reloaders; RELOADERS; end
# We need to reload the whole app when changing any of these files # We need to reload the whole app when changing any of these files
reload('spec/spec_helper.rb') reload("spec/spec_helper.rb")
reload('config/(.*).rb') reload(%r{config/.+\.rb})
reload('app/helpers/(.*).rb') reload(%r{app/helpers/.+\.rb})
def failed_specs def failed_specs
specs = [] specs = []