test/unit/test_helpers_tests.rb in ardb-0.29.1 vs test/unit/test_helpers_tests.rb in ardb-0.29.2
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
require "assert"
require "ardb/test_helpers"
require "ardb/adapter_spy"
@@ -122,10 +124,11 @@
end
class ResetDbTests < UsageTests
desc "reset db methods"
- should "tell the adapter to drop/create the db and load the schema only once" do
+ should "tell the adapter to drop/create the db and load the schema "\
+ "only once" do
assert_equal 0, @adapter_spy.drop_db_called_count
assert_equal 0, @adapter_spy.create_db_called_count
assert_equal 0, @adapter_spy.load_schema_called_count
subject.reset_db