You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
RSpec.configure do |config|
|
|
|
|
config.mock_with :rspec
|
|
|
|
|
|
|
|
config.fixture_path = "#{::Rails.root}/spec/fixtures"
|
|
|
|
config.use_transactional_fixtures = false
|
|
|
|
config.infer_base_class_for_anonymous_controllers = false
|
|
|
|
|
|
|
|
config.filter_run :focus => true
|
|
|
|
config.run_all_when_everything_filtered = true
|
|
|
|
config.order = "random"
|
|
|
|
|
|
|
|
config.infer_spec_type_from_file_location!
|
|
|
|
|
|
|
|
config.expect_with :rspec do |c|
|
|
|
|
c.syntax = [:should, :expect]
|
|
|
|
end
|
|
|
|
end
|