From 33bfa4dd231e4042456b3a70059c9cf57af858cf Mon Sep 17 00:00:00 2001 From: Philip Arndt Date: Wed, 1 Feb 2012 16:34:06 +1300 Subject: Added support for new code in Refinery CMS since resolve/refinerycms#1234 --- spec/support/database_cleaner.rb | 17 ----------------- spec/support/devise.rb | 8 -------- spec/support/refinery.rb | 6 ------ 3 files changed, 31 deletions(-) delete mode 100644 spec/support/database_cleaner.rb delete mode 100644 spec/support/devise.rb delete mode 100644 spec/support/refinery.rb (limited to 'spec/support') 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 -- cgit v1.2.3