17 lines
235 B
Ruby
17 lines
235 B
Ruby
require 'mocha'
|
|
require 'webmock/rspec'
|
|
|
|
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
|