metamaps--metamaps/spec/spec_helper.rb

18 lines
450 B
Ruby
Raw Normal View History

2016-01-26 10:14:32 +00:00
require 'support/controller_helpers'
require 'devise'
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
2016-01-26 10:14:32 +00:00
RSpec.configure do |config|
config.include Devise::TestHelpers, type: :controller
config.extend ControllerHelpers, type: :controller
end
2015-10-19 07:23:07 +00:00
end