spec_helper.rb revision 1b739f5dd48dc239e3b0500a9b64c58e4e2efd29
# 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
# The following option is already set in the database_cleaner.rb:
# config.treat_symbols_as_metadata_keys_with_true_values = true
# 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