diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 9bd0a3b..897babc 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -33,6 +33,9 @@ RSpec.configure do |config| # config.mock_with :flexmock # 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 config.fixture_path = "#{::Rails.root}/spec/fixtures"