Lines Matching refs:config
5 require File.expand_path("../../config/environment", __FILE__)
9 require Rails.root.join('config', 'database_cleaner.rb')
61 RSpec.configure do |config|
62 config.add_setting :current_full_description
63 config.add_setting :current_description
64 config.add_setting :current_file_path
66 # config.mock_with :mocha
67 # config.mock_with :flexmock
68 # config.mock_with :rr
69 config.mock_with :rspec
71 config.tty ||= ENV["SPEC_OPTS"].include?('--color') if ENV["SPEC_OPTS"]
73 config.before(:suite) do
77 config.before(:each) do |example|
80 config.current_full_description =
82 config.current_description = example.description
83 config.current_file_path = example.file_path
88 config.after(:each) do
91 config.expose_current_running_example_as :example
93 config.infer_spec_type_from_file_location!
95 config.infer_base_class_for_anonymous_controllers = true
97 config.include Devise::TestHelpers, type: :controller
100 # config.treat_symbols_as_metadata_keys_with_true_values = true
106 config.order = "random"
108 config.mock_with :rspec do |mocks|