mirror of
https://github.com/plashchynski/crono.git
synced 2026-01-11 21:10:24 +01:00
20 lines
464 B
Ruby
20 lines
464 B
Ruby
require 'bundler'
|
|
|
|
Bundler.require :default, :development
|
|
|
|
# If you're using all parts of Rails:
|
|
Combustion.initialize! :all
|
|
# Or, load just what you need:
|
|
# Combustion.initialize! :active_record, :action_controller
|
|
|
|
require 'rspec/rails'
|
|
# If you're using Capybara:
|
|
# require 'capybara/rails'
|
|
|
|
RSpec.configure do |config|
|
|
config.use_transactional_fixtures = true
|
|
config.mock_with :rspec do |mocks|
|
|
mocks.allow_message_expectations_on_nil = true
|
|
end
|
|
end
|