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