rack-livereload/spec/spec_helper.rb

17 lines
235 B
Ruby
Raw Normal View History

2011-11-04 15:51:22 +00:00
require 'mocha'
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