aboutsummaryrefslogtreecommitdiffstats
path: root/spec/support/devise.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/devise.rb')
-rw-r--r--spec/support/devise.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/support/devise.rb b/spec/support/devise.rb
new file mode 100644
index 0000000..9dc6823
--- /dev/null
+++ b/spec/support/devise.rb
@@ -0,0 +1,8 @@
+require 'devise'
+
+RSpec.configure do |config|
+ config.mock_with :rspec
+ config.use_transactional_fixtures = false
+
+ config.include Devise::TestHelpers, :type => :controller
+end