# This file is copied to spec/ when you run 'rails generate rspec:install'
require 'simplecov'
require 'addressable/template'
require 'vcr'
# Requires supporting ruby files with custom matchers and macros, etc,
end
end
end
end
end
prefix = 'spec/'
end
# Generate a generic cassette name for any example or context.
"specs/#{current_file_path}/#{current_full_description}"
end
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