spec/spec_helper.rb in authkit-0.0.1 vs spec/spec_helper.rb in authkit-0.2.1
- old
+ new
@@ -9,8 +9,10 @@
RSpec.configure do |config|
config.use_transactional_fixtures = true
config.infer_base_class_for_anonymous_controllers = false
config.order = "random"
+ config.include FactoryGirl::Syntax::Methods
+
# Because we are not running things in Rails we need to stub some secrets
config.before(:each) { Rails.application.config.stub(:secret_token).and_return("SECRET") }
end