rack-livereload/spec/spec_helper.rb

17 lines
239 B
Ruby
Raw Normal View History

2012-12-13 22:49:31 +00:00
require 'mocha/api'
require 'webmock/rspec'
2011-11-04 15:51:22 +00:00
require 'rack-livereload'
RSpec.configure do |c|
c.mock_with :mocha
end
module RSpec::Matchers
define :use_vendored do
match do |subject|
subject.use_vendored?
end
end
end