diff options
author | Philip Arndt <parndt@gmail.com> | 2012-02-01 16:34:06 +1300 |
---|---|---|
committer | Philip Arndt <parndt@gmail.com> | 2012-02-01 16:34:06 +1300 |
commit | 33bfa4dd231e4042456b3a70059c9cf57af858cf (patch) | |
tree | d51f175d17423e128cf23b294686fbb361a58189 /spec/support | |
parent | 30ebf2d338cdd1eff3f78fe4f865c98c02b0ad7e (diff) | |
download | refinerycms-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.rb | 17 | ||||
-rw-r--r-- | spec/support/devise.rb | 8 | ||||
-rw-r--r-- | spec/support/refinery.rb | 6 |
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 |