diff --git a/Guardfile b/Guardfile index 5279189..f24ee41 100644 --- a/Guardfile +++ b/Guardfile @@ -1,7 +1,7 @@ # A sample Guardfile # More info at https://github.com/guard/guard#readme -guard 'rspec', :version => 2, :cli => '-c' do +guard 'rspec', :cli => '-c' do watch(%r{^spec/.+_spec\.rb$}) watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" } watch('spec/spec_helper.rb') { "spec" } diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 96ab0b9..d5e604a 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,4 +1,4 @@ -require 'mocha' +require 'mocha/api' require 'webmock/rspec' require 'rack-livereload'