spec_helper.rb revision e937ecc97e91f77e9f1f63de78c8bd8f074865b9
# This file is copied to spec/ when you run 'rails generate rspec:install'
require 'addressable/template'
# Requires supporting ruby files with custom matchers and macros, etc,
end
end
end
# Recording HTTP Requests
VCR.configure do |c|
c.ignore_localhost = true
'127.0.0.1',
'localhost',
end
RSpec.configure do |config|
# ## Mock Framework
# config.mock_with :mocha
# config.mock_with :flexmock
# config.mock_with :rr
end
end
end
config.include Devise::TestHelpers, type: :controller
# Run specs in random order to surface order dependencies. If you find an
# order dependency and want to debug it, you can fix the order by providing
# the seed, which is printed after each run.
# --seed 1234
config.order = "random"
config.mock_with :rspec do |mocks|
end
end