mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-12 09:17:05 +02:00
Config syntax_sugar of factorygirl
This commit is contained in:
parent
d916082b92
commit
942ee6ddb4
@ -33,6 +33,9 @@ RSpec.configure do |config|
|
|||||||
# config.mock_with :flexmock
|
# config.mock_with :flexmock
|
||||||
# config.mock_with :rr
|
# config.mock_with :rr
|
||||||
|
|
||||||
|
# Syntax sugar to use the FactoryGirl methods directly instead FactoryGirl.create ete.
|
||||||
|
config.include FactoryGirl::Syntax::Methods
|
||||||
|
|
||||||
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
|
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
|
||||||
config.fixture_path = "#{::Rails.root}/spec/fixtures"
|
config.fixture_path = "#{::Rails.root}/spec/fixtures"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user