Commit 366799bb authored by Robert Speicher's avatar Robert Speicher

Add spec/support/factory_girl

Just for consistency with our Capybara, DatabaseCleaner, WebMock, etc.
setups.
parent a7773dd7
...@@ -13,12 +13,11 @@ RSpec.configure do |config| ...@@ -13,12 +13,11 @@ RSpec.configure do |config|
config.use_instantiated_fixtures = false config.use_instantiated_fixtures = false
config.mock_with :rspec config.mock_with :rspec
config.include Devise::TestHelpers, type: :controller
config.include LoginHelpers, type: :feature config.include LoginHelpers, type: :feature
config.include LoginHelpers, type: :request config.include LoginHelpers, type: :request
config.include FactoryGirl::Syntax::Methods
config.include Devise::TestHelpers, type: :controller
config.include TestEnv config.include TestEnv
config.infer_spec_type_from_file_location! config.infer_spec_type_from_file_location!
config.raise_errors_for_deprecations! config.raise_errors_for_deprecations!
......
RSpec.configure do |config|
config.include FactoryGirl::Syntax::Methods
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment