Skip to content
Snippets Groups Projects
Commit 366799bb authored by Robert Speicher's avatar Robert Speicher
Browse files

Add spec/support/factory_girl

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