File: spec_helper.rb

package info (click to toggle)
ruby-rack-livereload 0.3.17%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 216 kB
  • sloc: javascript: 973; ruby: 470; makefile: 4
file content (16 lines) | stat: -rw-r--r-- 239 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require 'mocha/api'
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