2016-02-01 17:25:06 +08:00
|
|
|
require 'simplecov'
|
2016-01-26 18:14:32 +08:00
|
|
|
require 'support/controller_helpers'
|
2016-03-12 09:27:31 +08:00
|
|
|
require 'pundit/rspec'
|
2016-01-26 18:14:32 +08:00
|
|
|
|
2015-10-12 11:26:48 +08:00
|
|
|
RSpec.configure do |config|
|
|
|
|
config.expect_with :rspec do |expectations|
|
|
|
|
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
|
|
|
end
|
|
|
|
|
|
|
|
config.mock_with :rspec do |mocks|
|
|
|
|
mocks.verify_partial_doubles = true
|
|
|
|
end
|
2015-10-19 15:23:07 +08:00
|
|
|
end
|