Skip to content

Commit 6f421a6

Browse files
committed
trying to get this first failure to pass 2
1 parent 7fcb41b commit 6f421a6

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

ruby/hyper-model/spec/spec_helper.rb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -235,15 +235,15 @@ def finished_all_ajax_requests?
235235
Capybara.default_max_wait_time = 10.seconds
236236

237237
config.before(:suite) do
238-
DatabaseCleaner.clean_with(:truncation)
238+
#DatabaseCleaner.clean_with(:truncation)
239239
Hyperloop.configuration do |config|
240240
config.transport = :simple_poller
241241
end
242242
end
243243

244-
config.before(:each) do
245-
DatabaseCleaner.strategy = :transaction
246-
end
244+
# config.before(:each) do
245+
# DatabaseCleaner.strategy = :transaction
246+
# end
247247

248248
config.before(:each) do |x|
249249
Hyperloop.class_eval do
@@ -267,9 +267,9 @@ class ActiveRecord::Base
267267
size_window
268268
end
269269

270-
config.before(:each) do
271-
DatabaseCleaner.start
272-
end
270+
# config.before(:each) do
271+
# DatabaseCleaner.start
272+
# end
273273

274274
config.after(:each) do |example|
275275
puts "after each is example.exception? #{example.exception}"

0 commit comments

Comments
 (0)