aboutsummaryrefslogtreecommitdiffstats
path: root/spec/support
diff options
context:
space:
mode:
authorPhilip Arndt <parndt@gmail.com>2012-02-01 16:34:06 +1300
committerPhilip Arndt <parndt@gmail.com>2012-02-01 16:34:06 +1300
commit33bfa4dd231e4042456b3a70059c9cf57af858cf (patch)
treed51f175d17423e128cf23b294686fbb361a58189 /spec/support
parent30ebf2d338cdd1eff3f78fe4f865c98c02b0ad7e (diff)
downloadrefinerycms-blog-33bfa4dd231e4042456b3a70059c9cf57af858cf.tar.gz
refinerycms-blog-33bfa4dd231e4042456b3a70059c9cf57af858cf.tar.bz2
refinerycms-blog-33bfa4dd231e4042456b3a70059c9cf57af858cf.zip
Added support for new code in Refinery CMS since resolve/refinerycms#1234
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/database_cleaner.rb17
-rw-r--r--spec/support/devise.rb8
-rw-r--r--spec/support/refinery.rb6
3 files changed, 0 insertions, 31 deletions
diff --git a/spec/support/database_cleaner.rb b/spec/support/database_cleaner.rb
deleted file mode 100644
index 40acbc9..0000000
--- a/spec/support/database_cleaner.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-require 'database_cleaner'
-
-RSpec.configure do |config|
- config.use_transactional_fixtures = false
-
- config.before(:suite) do
- DatabaseCleaner.strategy = :truncation
- end
-
- config.before(:each) do
- DatabaseCleaner.start
- end
-
- config.after(:each) do
- DatabaseCleaner.clean
- end
-end
diff --git a/spec/support/devise.rb b/spec/support/devise.rb
deleted file mode 100644
index 9dc6823..0000000
--- a/spec/support/devise.rb
+++ /dev/null
@@ -1,8 +0,0 @@
-require 'devise'
-
-RSpec.configure do |config|
- config.mock_with :rspec
- config.use_transactional_fixtures = false
-
- config.include Devise::TestHelpers, :type => :controller
-end
diff --git a/spec/support/refinery.rb b/spec/support/refinery.rb
deleted file mode 100644
index d761787..0000000
--- a/spec/support/refinery.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-require 'refinerycms-testing'
-
-RSpec.configure do |config|
- config.extend Refinery::Testing::ControllerMacros::Authentication, :type => :controller
- config.extend Refinery::Testing::RequestMacros::Authentication, :type => :request
-end