Skip to content

Commit

Permalink
Is Travis already using ramfs?
Browse files Browse the repository at this point in the history
  • Loading branch information
LocoDelAssembly committed Oct 26, 2014
1 parent 5f77f60 commit 76d8923
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Expand Up @@ -94,7 +94,7 @@
end

config.before(:each) do
DatabaseCleaner.strategy = :transaction
DatabaseCleaner.strategy = :truncation
end

config.before(:each, js: true) do
Expand Down
12 changes: 6 additions & 6 deletions spec/support/controllers.rb
Expand Up @@ -2,11 +2,11 @@

RSpec.configure do |config|
config.include ControllerSpecHelper, type: :controller
config.before(:all, type: :controller) do
ProjectsAndUsers.spin_up_projects_users_and_housekeeping
end
# config.before(:all, type: :controller) do
# ProjectsAndUsers.spin_up_projects_users_and_housekeeping
# end

config.after(:all, type: :controller) {
ProjectsAndUsers.clean_slate
}
# config.after(:all, type: :controller) {
# ProjectsAndUsers.clean_slate
# }
end
8 changes: 4 additions & 4 deletions spec/support/helpers.rb
@@ -1,9 +1,9 @@
RSpec.configure do |config|
config.before(:all, type: :helper) do
config.before(:example) do
ProjectsAndUsers.spin_up_projects_users_and_housekeeping
end

config.after(:all, type: :helper) {
ProjectsAndUsers.clean_slate
}
# config.after(:all, type: :helper) {
# ProjectsAndUsers.clean_slate
# }
end

0 comments on commit 76d8923

Please sign in to comment.