blob: b62f9cf5ba6f2f5e2b4681fe86a359d373a837fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
if ENV['COVERAGE'] || ENV['TRAVIS']
begin
require 'simplecov'
SimpleCov.start do
add_filter "/spec/"
end
if ENV['TRAVIS']
require 'coveralls'
Coveralls.wear!
end
rescue LoadError
warn "Could not load simplecov: #{$!}"
end
end
require "bundler/setup"
require "rb-inotify"
RSpec.configure do |config|
# Enable flags like --only-failures and --next-failure
config.example_status_persistence_file_path = ".rspec_status"
config.expect_with :rspec do |c|
c.syntax = :expect
end
end
|