active_record-resource 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/active_record/resource/callbacks.rb +49 -8
- data/lib/active_record/resource/version.rb +1 -1
- data/test/dummy/app/models/account.rb +20 -2
- data/test/dummy/app/models/deletable.rb +28 -0
- data/test/dummy/app/models/updatable.rb +28 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20160224203842_create_deletables.rb +9 -0
- data/test/dummy/db/migrate/20160224221749_create_updatables.rb +9 -0
- data/test/dummy/db/schema.rb +13 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +160 -0
- data/test/dummy/log/test.log +2788 -0
- data/test/dummy/test/models/account_test.rb +5 -4
- data/test/dummy/test/models/deletable_test.rb +19 -0
- data/test/dummy/test/models/updatable_test.rb +15 -0
- data/test/test_helper.rb +2 -0
- metadata +29 -4
- data/README.rdoc +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f2766e0647727ecd27d63a55331b7c04c1470a06
|
4
|
+
data.tar.gz: 625031916c6c301ef2e37070109b9765cc9f6fb3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0b88189ef734681aecf670de4ac6605930dfec5222c9f4b9b1631aa3b056467ac9dea61ebae9818be4430f5256a0d01d01ecb186560f67a572cace311296107
|
7
|
+
data.tar.gz: db9a0fb62a7631ad51f67a6856b15415f7e1d0f5972e30c5799cd816406a93d3efa7ee1fb02e6fe61ebd40fe60bd544d8851a4f96a262d1b660e88ddfc4ca0a3
|
@@ -8,24 +8,49 @@ module ActiveRecord
|
|
8
8
|
# When a class inherits from AR::Base, all models do
|
9
9
|
def self.inherited(child_class)
|
10
10
|
# On the class that Inherits AR::Base
|
11
|
-
child_class
|
12
|
-
|
13
|
-
|
11
|
+
unless child_class == ActiveRecord::SchemaMigration
|
12
|
+
child_class.class_eval do
|
13
|
+
def self.new(*args)
|
14
|
+
check_resource_methods
|
14
15
|
|
15
|
-
|
16
|
-
|
16
|
+
super(*args)
|
17
|
+
end
|
18
|
+
|
19
|
+
def handle_delete
|
20
|
+
resource_delete_validations
|
21
|
+
if self.errors.present?
|
22
|
+
return false
|
23
|
+
end
|
24
|
+
return resource_delete
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
child_class.instance_eval do
|
29
|
+
# Add Hooks
|
30
|
+
before_create :resource_create
|
31
|
+
before_validation(:resource_create_validations, on: :create)
|
32
|
+
|
33
|
+
before_update :resource_update
|
34
|
+
before_validation(:resource_update_validations, on: :update)
|
35
|
+
|
36
|
+
before_destroy :handle_delete
|
37
|
+
end
|
17
38
|
end
|
18
39
|
|
19
40
|
super
|
20
41
|
end
|
21
42
|
|
22
|
-
|
23
|
-
before_create :resource_create
|
24
|
-
before_validation(:resource_create_validations, on: :create)
|
43
|
+
|
25
44
|
|
26
45
|
def self.check_resource_methods
|
27
46
|
raise not_creatable_error unless method_defined? :resource_create
|
28
47
|
raise no_creation_validations_error unless method_defined? :resource_create_validations
|
48
|
+
|
49
|
+
raise not_deletable_error unless method_defined? :resource_delete
|
50
|
+
raise no_deletable_validations_error unless method_defined? :resource_delete_validations
|
51
|
+
|
52
|
+
raise not_updatable_error unless method_defined? :resource_delete
|
53
|
+
raise no_updatable_validations_error unless method_defined? :resource_delete_validations
|
29
54
|
end
|
30
55
|
|
31
56
|
def self.not_creatable_error
|
@@ -35,6 +60,22 @@ module ActiveRecord
|
|
35
60
|
def self.no_creation_validations_error
|
36
61
|
"The model #{self} is createable, but does not implement #resource_create_validations"
|
37
62
|
end
|
63
|
+
|
64
|
+
def self.not_deletable_error
|
65
|
+
"The model #{self} is deletable, but does not implement #resource_delete"
|
66
|
+
end
|
67
|
+
|
68
|
+
def self.no_deletable_validations_error
|
69
|
+
"The model #{self} is deletable, but does not implement #resource_delete_validations"
|
70
|
+
end
|
71
|
+
|
72
|
+
def self.not_updatable_error
|
73
|
+
"The model #{self} is updatable, but does not implement #resource_update"
|
74
|
+
end
|
75
|
+
|
76
|
+
def self.no_updatable_validations_error
|
77
|
+
"The model #{self} is updatable, but does not implement #resource_update_validations"
|
78
|
+
end
|
38
79
|
end
|
39
80
|
end
|
40
81
|
|
@@ -1,9 +1,27 @@
|
|
1
1
|
class Account < ActiveRecord::Base
|
2
2
|
def resource_create_validations
|
3
|
-
|
3
|
+
unless self.number == "valid"
|
4
|
+
errors[:number] << 'Need a name starting with X please!'
|
5
|
+
end
|
4
6
|
end
|
5
7
|
|
6
8
|
def resource_create
|
7
|
-
number = "a"
|
9
|
+
self.number = "a"
|
10
|
+
end
|
11
|
+
|
12
|
+
def resource_delete_validations
|
13
|
+
true
|
14
|
+
end
|
15
|
+
|
16
|
+
def resource_delete
|
17
|
+
true
|
18
|
+
end
|
19
|
+
|
20
|
+
def resource_update
|
21
|
+
true
|
22
|
+
end
|
23
|
+
|
24
|
+
def resource_update_validations
|
25
|
+
true
|
8
26
|
end
|
9
27
|
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
class Deletable < ActiveRecord::Base
|
2
|
+
def resource_create_validations
|
3
|
+
true
|
4
|
+
end
|
5
|
+
|
6
|
+
def resource_create
|
7
|
+
true
|
8
|
+
end
|
9
|
+
|
10
|
+
def resource_delete_validations
|
11
|
+
unless self.number == "valid"
|
12
|
+
errors[:number] << 'Need a name starting with X please!'
|
13
|
+
false
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
def resource_delete
|
18
|
+
self.number = "a"
|
19
|
+
end
|
20
|
+
|
21
|
+
def resource_update
|
22
|
+
true
|
23
|
+
end
|
24
|
+
|
25
|
+
def resource_update_validations
|
26
|
+
true
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
class Updatable < ActiveRecord::Base
|
2
|
+
def resource_create_validations
|
3
|
+
true
|
4
|
+
end
|
5
|
+
|
6
|
+
def resource_create
|
7
|
+
true
|
8
|
+
end
|
9
|
+
|
10
|
+
def resource_delete_validations
|
11
|
+
true
|
12
|
+
end
|
13
|
+
|
14
|
+
def resource_delete
|
15
|
+
true
|
16
|
+
end
|
17
|
+
|
18
|
+
def resource_update
|
19
|
+
self.number = "a"
|
20
|
+
end
|
21
|
+
|
22
|
+
def resource_update_validations
|
23
|
+
unless self.number == "valid"
|
24
|
+
errors[:number] << 'Need a name starting with X please!'
|
25
|
+
false
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
Binary file
|
data/test/dummy/db/schema.rb
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
#
|
12
12
|
# It's strongly recommended that you check this file into your version control system.
|
13
13
|
|
14
|
-
ActiveRecord::Schema.define(version:
|
14
|
+
ActiveRecord::Schema.define(version: 20160224221749) do
|
15
15
|
|
16
16
|
create_table "accounts", force: :cascade do |t|
|
17
17
|
t.string "number"
|
@@ -19,4 +19,16 @@ ActiveRecord::Schema.define(version: 20160223204747) do
|
|
19
19
|
t.datetime "updated_at", null: false
|
20
20
|
end
|
21
21
|
|
22
|
+
create_table "deletables", force: :cascade do |t|
|
23
|
+
t.string "number"
|
24
|
+
t.datetime "created_at", null: false
|
25
|
+
t.datetime "updated_at", null: false
|
26
|
+
end
|
27
|
+
|
28
|
+
create_table "updatables", force: :cascade do |t|
|
29
|
+
t.string "number"
|
30
|
+
t.datetime "created_at", null: false
|
31
|
+
t.datetime "updated_at", null: false
|
32
|
+
end
|
33
|
+
|
22
34
|
end
|
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -25,3 +25,163 @@ Migrating to CreateAccounts (20160223204747)
|
|
25
25
|
[1m[35m (0.0ms)[0m rollback transaction
|
26
26
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27
27
|
[1m[35m (0.0ms)[0m rollback transaction
|
28
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
29
|
+
Migrating to CreateDeletables (20160224203842)
|
30
|
+
[1m[35m (0.0ms)[0m begin transaction
|
31
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "deletables" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
32
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
33
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
34
|
+
Migrating to CreateDeletables (20160224203842)
|
35
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "deletables" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
37
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
38
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
39
|
+
Migrating to CreateDeletables (20160224203842)
|
40
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "deletables" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
42
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
43
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
44
|
+
Migrating to CreateDeletables (20160224203842)
|
45
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "deletables" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
47
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
48
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
49
|
+
Migrating to CreateDeletables (20160224203842)
|
50
|
+
[1m[35m (0.1ms)[0m begin transaction
|
51
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "deletables" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
52
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160224203842"]]
|
53
|
+
[1m[36m (1.4ms)[0m [1mcommit transaction[0m
|
54
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
55
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
56
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "123"], ["created_at", "2016-02-24 21:07:37.930646"], ["updated_at", "2016-02-24 21:07:37.930646"]]
|
57
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
58
|
+
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = ? LIMIT 1 [["id", 2]]
|
59
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
60
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "accounts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-24 21:08:14.261920"], ["updated_at", "2016-02-24 21:08:14.261920"]]
|
61
|
+
[1m[36m (1.4ms)[0m [1mcommit transaction[0m
|
62
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
63
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "accounts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-24 21:08:43.036130"], ["updated_at", "2016-02-24 21:08:43.036130"]]
|
64
|
+
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
65
|
+
[1m[35m (0.1ms)[0m begin transaction
|
66
|
+
[1m[36mSQL (1.3ms)[0m [1mINSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "123"], ["created_at", "2016-02-24 21:09:13.124319"], ["updated_at", "2016-02-24 21:09:13.124319"]]
|
67
|
+
[1m[35m (1.5ms)[0m commit transaction
|
68
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
69
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-24 21:11:29.846380"], ["updated_at", "2016-02-24 21:11:29.846380"]]
|
70
|
+
[1m[36m (1.4ms)[0m [1mcommit transaction[0m
|
71
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
72
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "accounts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-24 21:11:57.958372"], ["updated_at", "2016-02-24 21:11:57.958372"]]
|
73
|
+
[1m[36m (1.6ms)[0m [1mcommit transaction[0m
|
74
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
75
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "accounts" ("created_at", "updated_at", "number") VALUES (?, ?, ?) [["created_at", "2016-02-24 21:12:46.920507"], ["updated_at", "2016-02-24 21:12:46.920507"], ["number", "a"]]
|
76
|
+
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
77
|
+
[1m[36m (1.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
78
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
79
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
80
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
81
|
+
Migrating to CreateAccounts (20160223204747)
|
82
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
83
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
84
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160223204747"]]
|
85
|
+
[1m[35m (0.8ms)[0m commit transaction
|
86
|
+
Migrating to CreateDeletables (20160224203842)
|
87
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "deletables" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
89
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160224203842"]]
|
90
|
+
[1m[35m (0.7ms)[0m commit transaction
|
91
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
92
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
93
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
94
|
+
[1m[36m (1.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
95
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
96
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
97
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
98
|
+
Migrating to CreateAccounts (20160223204747)
|
99
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
100
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
101
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160223204747"]]
|
102
|
+
[1m[35m (0.9ms)[0m commit transaction
|
103
|
+
Migrating to CreateDeletables (20160224203842)
|
104
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
105
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "deletables" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
106
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160224203842"]]
|
107
|
+
[1m[35m (0.8ms)[0m commit transaction
|
108
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
109
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
110
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
111
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
112
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
113
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
114
|
+
[1m[35mFixture Delete (0.6ms)[0m DELETE FROM "deletables"
|
115
|
+
[1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "deletables" ("created_at", "updated_at", "id") VALUES ('2016-02-24 21:32:45', '2016-02-24 21:32:45', 980190962)[0m
|
116
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "deletables" ("created_at", "updated_at", "id") VALUES ('2016-02-24 21:32:45', '2016-02-24 21:32:45', 298486374)
|
117
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
118
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "deletables"[0m
|
119
|
+
[1m[35mDeletable Load (0.1ms)[0m SELECT "deletables".* FROM "deletables" ORDER BY "deletables"."id" ASC LIMIT 1
|
120
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
121
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "deletables" WHERE "deletables"."id" = ? [["id", 298486374]]
|
122
|
+
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
123
|
+
[1m[36mDeletable Load (0.1ms)[0m [1mSELECT "deletables".* FROM "deletables" ORDER BY "deletables"."id" ASC LIMIT 1[0m
|
124
|
+
[1m[35m (0.1ms)[0m begin transaction
|
125
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "deletables" WHERE "deletables"."id" = ?[0m [["id", 980190962]]
|
126
|
+
[1m[35m (1.5ms)[0m commit transaction
|
127
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
128
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "deletables" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-24 21:42:04.710550"], ["updated_at", "2016-02-24 21:42:04.710550"]]
|
129
|
+
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
130
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
131
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "invalid"], ["created_at", "2016-02-24 21:46:54.245948"], ["updated_at", "2016-02-24 21:46:54.245948"]]
|
132
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
133
|
+
[1m[35m (0.1ms)[0m begin transaction
|
134
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "deletables" WHERE "deletables"."id" = ?[0m [["id", 980190964]]
|
135
|
+
[1m[35m (1.1ms)[0m commit transaction
|
136
|
+
[1m[36mDeletable Load (0.1ms)[0m [1mSELECT "deletables".* FROM "deletables" ORDER BY "deletables"."id" ASC LIMIT 1[0m
|
137
|
+
[1m[35m (0.1ms)[0m begin transaction
|
138
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
139
|
+
[1m[35m (0.1ms)[0m begin transaction
|
140
|
+
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "deletables" WHERE "deletables"."id" = ?[0m [["id", 980190963]]
|
141
|
+
[1m[35m (0.8ms)[0m commit transaction
|
142
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
143
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "valid"], ["created_at", "2016-02-24 21:51:58.582136"], ["updated_at", "2016-02-24 21:51:58.582136"]]
|
144
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
145
|
+
[1m[36mDeletable Load (0.1ms)[0m [1mSELECT "deletables".* FROM "deletables" ORDER BY "deletables"."id" ASC LIMIT 1[0m
|
146
|
+
[1m[35m (0.1ms)[0m begin transaction
|
147
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
148
|
+
[1m[36mDeletable Load (0.1ms)[0m [1mSELECT "deletables".* FROM "deletables" ORDER BY "deletables"."id" ASC LIMIT 1[0m
|
149
|
+
[1m[35m (0.1ms)[0m begin transaction
|
150
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
151
|
+
[1m[36mDeletable Load (0.1ms)[0m [1mSELECT "deletables".* FROM "deletables" ORDER BY "deletables"."id" ASC LIMIT 1[0m
|
152
|
+
[1m[36mDeletable Load (0.1ms)[0m [1mSELECT "deletables".* FROM "deletables" ORDER BY "deletables"."id" ASC LIMIT 1[0m
|
153
|
+
[1m[35m (0.1ms)[0m begin transaction
|
154
|
+
[1m[36mSQL (1.2ms)[0m [1mDELETE FROM "deletables" WHERE "deletables"."id" = ?[0m [["id", 980190965]]
|
155
|
+
[1m[35m (1.5ms)[0m commit transaction
|
156
|
+
[1m[36mDeletable Load (0.1ms)[0m [1mSELECT "deletables".* FROM "deletables" ORDER BY "deletables"."id" ASC LIMIT 1[0m
|
157
|
+
[1m[35m (0.1ms)[0m begin transaction
|
158
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "valid"], ["created_at", "2016-02-24 22:02:15.286075"], ["updated_at", "2016-02-24 22:02:15.286075"]]
|
159
|
+
[1m[35m (0.8ms)[0m commit transaction
|
160
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
161
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "deletables" WHERE "deletables"."id" = ? [["id", 980190966]]
|
162
|
+
[1m[36m (1.6ms)[0m [1mcommit transaction[0m
|
163
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
164
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "valid"], ["created_at", "2016-02-24 22:05:31.134064"], ["updated_at", "2016-02-24 22:05:31.134064"]]
|
165
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
166
|
+
[1m[35m (0.1ms)[0m begin transaction
|
167
|
+
[1m[36mSQL (0.5ms)[0m [1mDELETE FROM "deletables" WHERE "deletables"."id" = ?[0m [["id", 980190967]]
|
168
|
+
[1m[35m (2.7ms)[0m commit transaction
|
169
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
170
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "valid"], ["created_at", "2016-02-24 22:07:23.035180"], ["updated_at", "2016-02-24 22:07:23.035180"]]
|
171
|
+
[1m[36m (1.4ms)[0m [1mcommit transaction[0m
|
172
|
+
[1m[35m (0.1ms)[0m begin transaction
|
173
|
+
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "deletables" WHERE "deletables"."id" = ?[0m [["id", 980190968]]
|
174
|
+
[1m[35m (1.2ms)[0m commit transaction
|
175
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
176
|
+
Migrating to CreateUpdatables (20160224221749)
|
177
|
+
[1m[35m (0.1ms)[0m begin transaction
|
178
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "updatables" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
179
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160224221749"]]
|
180
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
181
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
182
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
183
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "updatables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "1"], ["created_at", "2016-02-24 22:28:19.880240"], ["updated_at", "2016-02-24 22:28:19.880240"]]
|
184
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
185
|
+
[1m[35m (0.1ms)[0m begin transaction
|
186
|
+
[1m[36mSQL (1.0ms)[0m [1mUPDATE "updatables" SET "number" = ?, "updated_at" = ? WHERE "updatables"."id" = ?[0m [["number", "a"], ["updated_at", "2016-02-24 22:28:42.012471"], ["id", 1]]
|
187
|
+
[1m[35m (0.7ms)[0m commit transaction
|
data/test/dummy/log/test.log
CHANGED
@@ -333,3 +333,2791 @@ AccountTest: test_it_calls_the_create_resource_callback_when_created
|
|
333
333
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
334
334
|
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
335
335
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
336
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
337
|
+
[1m[35m (0.1ms)[0m begin transaction
|
338
|
+
--------------------------------------
|
339
|
+
ActiveRecord::ResourceTest: test_truth
|
340
|
+
--------------------------------------
|
341
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
342
|
+
[1m[35m (0.0ms)[0m begin transaction
|
343
|
+
--------------------------------------------------------------------
|
344
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
345
|
+
--------------------------------------------------------------------
|
346
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
347
|
+
[1m[35m (0.0ms)[0m begin transaction
|
348
|
+
--------------------------------------------------------------------------------
|
349
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
350
|
+
--------------------------------------------------------------------------------
|
351
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
352
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
353
|
+
[1m[35m (0.1ms)[0m begin transaction
|
354
|
+
--------------------------------------------------------------------
|
355
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
356
|
+
--------------------------------------------------------------------
|
357
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
358
|
+
[1m[35m (0.0ms)[0m begin transaction
|
359
|
+
--------------------------------------------------------------------------------
|
360
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
361
|
+
--------------------------------------------------------------------------------
|
362
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
363
|
+
[1m[35m (0.0ms)[0m begin transaction
|
364
|
+
--------------------------------------------------------------------
|
365
|
+
AccountTest: test_it_calls_the_delete_resource_callback_when_deleted
|
366
|
+
--------------------------------------------------------------------
|
367
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
368
|
+
[1m[35m (0.0ms)[0m begin transaction
|
369
|
+
--------------------------------------
|
370
|
+
ActiveRecord::ResourceTest: test_truth
|
371
|
+
--------------------------------------
|
372
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
373
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
374
|
+
[1m[35m (0.1ms)[0m begin transaction
|
375
|
+
--------------------------------------------------------------------
|
376
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
377
|
+
--------------------------------------------------------------------
|
378
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
379
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
380
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
381
|
+
[1m[35m (0.0ms)[0m begin transaction
|
382
|
+
--------------------------------------------------------------------------------
|
383
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
384
|
+
--------------------------------------------------------------------------------
|
385
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
386
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
387
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
388
|
+
[1m[35m (0.0ms)[0m begin transaction
|
389
|
+
--------------------------------------------------------------------
|
390
|
+
AccountTest: test_it_calls_the_delete_resource_callback_when_deleted
|
391
|
+
--------------------------------------------------------------------
|
392
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
393
|
+
[1m[35m (0.0ms)[0m begin transaction
|
394
|
+
--------------------------------------
|
395
|
+
ActiveRecord::ResourceTest: test_truth
|
396
|
+
--------------------------------------
|
397
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
398
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
399
|
+
[1m[35m (0.1ms)[0m begin transaction
|
400
|
+
--------------------------------------
|
401
|
+
ActiveRecord::ResourceTest: test_truth
|
402
|
+
--------------------------------------
|
403
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
404
|
+
[1m[35m (0.0ms)[0m begin transaction
|
405
|
+
--------------------------------------------------------------------
|
406
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
407
|
+
--------------------------------------------------------------------
|
408
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
409
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
410
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
411
|
+
[1m[35m (0.0ms)[0m begin transaction
|
412
|
+
--------------------------------------------------------------------
|
413
|
+
AccountTest: test_it_calls_the_delete_resource_callback_when_deleted
|
414
|
+
--------------------------------------------------------------------
|
415
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
416
|
+
[1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
417
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
418
|
+
[1m[35m (0.0ms)[0m begin transaction
|
419
|
+
--------------------------------------------------------------------------------
|
420
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
421
|
+
--------------------------------------------------------------------------------
|
422
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
423
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
424
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
425
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
426
|
+
[1m[35m (0.1ms)[0m begin transaction
|
427
|
+
--------------------------------------------------------------------
|
428
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
429
|
+
--------------------------------------------------------------------
|
430
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
431
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
432
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
433
|
+
[1m[35m (0.0ms)[0m begin transaction
|
434
|
+
--------------------------------------------------------------------------------
|
435
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
436
|
+
--------------------------------------------------------------------------------
|
437
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
438
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
439
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
440
|
+
[1m[35m (0.0ms)[0m begin transaction
|
441
|
+
--------------------------------------------------------------------
|
442
|
+
AccountTest: test_it_calls_the_delete_resource_callback_when_deleted
|
443
|
+
--------------------------------------------------------------------
|
444
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
445
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
446
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
447
|
+
[1m[35m (0.0ms)[0m begin transaction
|
448
|
+
--------------------------------------
|
449
|
+
ActiveRecord::ResourceTest: test_truth
|
450
|
+
--------------------------------------
|
451
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
452
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
453
|
+
[1m[35m (0.1ms)[0m begin transaction
|
454
|
+
--------------------------------------------------------------------
|
455
|
+
AccountTest: test_it_calls_the_delete_resource_callback_when_deleted
|
456
|
+
--------------------------------------------------------------------
|
457
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
458
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
459
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
460
|
+
[1m[35m (0.0ms)[0m begin transaction
|
461
|
+
--------------------------------------------------------------------------------
|
462
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
463
|
+
--------------------------------------------------------------------------------
|
464
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
465
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
466
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
467
|
+
[1m[35m (0.0ms)[0m begin transaction
|
468
|
+
--------------------------------------------------------------------
|
469
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
470
|
+
--------------------------------------------------------------------
|
471
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
472
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
473
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
474
|
+
[1m[35m (0.0ms)[0m begin transaction
|
475
|
+
--------------------------------------
|
476
|
+
ActiveRecord::ResourceTest: test_truth
|
477
|
+
--------------------------------------
|
478
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
479
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
480
|
+
[1m[35m (0.1ms)[0m begin transaction
|
481
|
+
--------------------------------------
|
482
|
+
ActiveRecord::ResourceTest: test_truth
|
483
|
+
--------------------------------------
|
484
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
485
|
+
[1m[35m (0.0ms)[0m begin transaction
|
486
|
+
--------------------------------------------------------------------
|
487
|
+
AccountTest: test_it_calls_the_delete_resource_callback_when_deleted
|
488
|
+
--------------------------------------------------------------------
|
489
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
490
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
491
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
492
|
+
[1m[35m (0.0ms)[0m begin transaction
|
493
|
+
--------------------------------------------------------------------------------
|
494
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
495
|
+
--------------------------------------------------------------------------------
|
496
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
497
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
498
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
499
|
+
[1m[35m (0.0ms)[0m begin transaction
|
500
|
+
--------------------------------------------------------------------
|
501
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
502
|
+
--------------------------------------------------------------------
|
503
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
504
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
505
|
+
[1m[36m (9.2ms)[0m [1mrollback transaction[0m
|
506
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
507
|
+
[1m[35m (0.1ms)[0m begin transaction
|
508
|
+
--------------------------------------
|
509
|
+
ActiveRecord::ResourceTest: test_truth
|
510
|
+
--------------------------------------
|
511
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
512
|
+
[1m[35m (0.0ms)[0m begin transaction
|
513
|
+
--------------------------------------------------------------------------------
|
514
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
515
|
+
--------------------------------------------------------------------------------
|
516
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
517
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
518
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
519
|
+
[1m[35m (0.0ms)[0m begin transaction
|
520
|
+
--------------------------------------------------------------------
|
521
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
522
|
+
--------------------------------------------------------------------
|
523
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
524
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
525
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
526
|
+
[1m[35m (0.0ms)[0m begin transaction
|
527
|
+
--------------------------------------------------------------------
|
528
|
+
AccountTest: test_it_calls_the_delete_resource_callback_when_deleted
|
529
|
+
--------------------------------------------------------------------
|
530
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
531
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
532
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
533
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
534
|
+
[1m[35m (0.1ms)[0m begin transaction
|
535
|
+
--------------------------------------------------------------------
|
536
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
537
|
+
--------------------------------------------------------------------
|
538
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
539
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
540
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
541
|
+
[1m[35m (0.0ms)[0m begin transaction
|
542
|
+
--------------------------------------------------------------------
|
543
|
+
AccountTest: test_it_calls_the_delete_resource_callback_when_deleted
|
544
|
+
--------------------------------------------------------------------
|
545
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
546
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
547
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
548
|
+
[1m[35m (0.0ms)[0m begin transaction
|
549
|
+
--------------------------------------------------------------------------------
|
550
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
551
|
+
--------------------------------------------------------------------------------
|
552
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
553
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
554
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
555
|
+
[1m[35m (0.0ms)[0m begin transaction
|
556
|
+
--------------------------------------
|
557
|
+
ActiveRecord::ResourceTest: test_truth
|
558
|
+
--------------------------------------
|
559
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
560
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
561
|
+
[1m[35m (0.1ms)[0m begin transaction
|
562
|
+
--------------------------------------------------------------------
|
563
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
564
|
+
--------------------------------------------------------------------
|
565
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
566
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
567
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
568
|
+
[1m[35m (0.0ms)[0m begin transaction
|
569
|
+
--------------------------------------------------------------------------------
|
570
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
571
|
+
--------------------------------------------------------------------------------
|
572
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
573
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
574
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
575
|
+
[1m[35m (0.0ms)[0m begin transaction
|
576
|
+
--------------------------------------------------------------------
|
577
|
+
AccountTest: test_it_calls_the_delete_resource_callback_when_deleted
|
578
|
+
--------------------------------------------------------------------
|
579
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
580
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
581
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
582
|
+
[1m[35m (0.0ms)[0m begin transaction
|
583
|
+
--------------------------------------
|
584
|
+
ActiveRecord::ResourceTest: test_truth
|
585
|
+
--------------------------------------
|
586
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
587
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
588
|
+
[1m[35m (0.1ms)[0m begin transaction
|
589
|
+
--------------------------------------
|
590
|
+
ActiveRecord::ResourceTest: test_truth
|
591
|
+
--------------------------------------
|
592
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
593
|
+
[1m[35m (0.0ms)[0m begin transaction
|
594
|
+
--------------------------------------------------------------------
|
595
|
+
AccountTest: test_it_calls_the_delete_resource_callback_when_deleted
|
596
|
+
--------------------------------------------------------------------
|
597
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
598
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
599
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
600
|
+
[1m[35m (0.0ms)[0m begin transaction
|
601
|
+
--------------------------------------------------------------------------------
|
602
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
603
|
+
--------------------------------------------------------------------------------
|
604
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
605
|
+
[1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
606
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
607
|
+
[1m[35m (0.0ms)[0m begin transaction
|
608
|
+
--------------------------------------------------------------------
|
609
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
610
|
+
--------------------------------------------------------------------
|
611
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
612
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
613
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
614
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
615
|
+
[1m[35m (0.1ms)[0m begin transaction
|
616
|
+
--------------------------------------
|
617
|
+
ActiveRecord::ResourceTest: test_truth
|
618
|
+
--------------------------------------
|
619
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
620
|
+
[1m[35m (0.0ms)[0m begin transaction
|
621
|
+
--------------------------------------------------------------------
|
622
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
623
|
+
--------------------------------------------------------------------
|
624
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
625
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
626
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
627
|
+
[1m[35m (0.0ms)[0m begin transaction
|
628
|
+
--------------------------------------------------------------------------------
|
629
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
630
|
+
--------------------------------------------------------------------------------
|
631
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
632
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
633
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
634
|
+
[1m[35m (0.0ms)[0m begin transaction
|
635
|
+
--------------------------------------------------------------------
|
636
|
+
AccountTest: test_it_calls_the_delete_resource_callback_when_deleted
|
637
|
+
--------------------------------------------------------------------
|
638
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
639
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
640
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
641
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
642
|
+
[1m[35m (0.1ms)[0m begin transaction
|
643
|
+
--------------------------------------
|
644
|
+
ActiveRecord::ResourceTest: test_truth
|
645
|
+
--------------------------------------
|
646
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
647
|
+
[1m[35m (0.0ms)[0m begin transaction
|
648
|
+
--------------------------------------------------------------------
|
649
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
650
|
+
--------------------------------------------------------------------
|
651
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
652
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
653
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
654
|
+
[1m[35m (0.0ms)[0m begin transaction
|
655
|
+
--------------------------------------------------------------------
|
656
|
+
AccountTest: test_it_calls_the_delete_resource_callback_when_deleted
|
657
|
+
--------------------------------------------------------------------
|
658
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
659
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
660
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
661
|
+
[1m[35m (0.0ms)[0m begin transaction
|
662
|
+
--------------------------------------------------------------------------------
|
663
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
664
|
+
--------------------------------------------------------------------------------
|
665
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
666
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
667
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
668
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
669
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
670
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
671
|
+
[1m[36m (0.4ms)[0m [1mselect sqlite_version(*)[0m
|
672
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
673
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
674
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160223204747')
|
675
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
676
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
677
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
678
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "deletables" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
679
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
680
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
681
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
682
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
683
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160224203842')[0m
|
684
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160223204747')
|
685
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
686
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
687
|
+
--------------------------------------------------------------------
|
688
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
689
|
+
--------------------------------------------------------------------
|
690
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
691
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
692
|
+
--------------------------------------------------------------------------------
|
693
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
694
|
+
--------------------------------------------------------------------------------
|
695
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
696
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
697
|
+
--------------------------------------
|
698
|
+
ActiveRecord::ResourceTest: test_truth
|
699
|
+
--------------------------------------
|
700
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
701
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
702
|
+
----------------------------------------------------------------------
|
703
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
704
|
+
----------------------------------------------------------------------
|
705
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
706
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
707
|
+
[1m[35m (0.1ms)[0m begin transaction
|
708
|
+
----------------------------------------------------------------------
|
709
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
710
|
+
----------------------------------------------------------------------
|
711
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
712
|
+
[1m[35m (0.0ms)[0m begin transaction
|
713
|
+
--------------------------------------------------------------------------------
|
714
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
715
|
+
--------------------------------------------------------------------------------
|
716
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
717
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "123"], ["created_at", "2016-02-24 20:47:11.046982"], ["updated_at", "2016-02-24 20:47:11.046982"]]
|
718
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
719
|
+
[1m[35m (1.1ms)[0m rollback transaction
|
720
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
721
|
+
--------------------------------------------------------------------
|
722
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
723
|
+
--------------------------------------------------------------------
|
724
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
725
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "123"], ["created_at", "2016-02-24 20:47:11.052210"], ["updated_at", "2016-02-24 20:47:11.052210"]]
|
726
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
727
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
728
|
+
[1m[35m (0.1ms)[0m begin transaction
|
729
|
+
--------------------------------------
|
730
|
+
ActiveRecord::ResourceTest: test_truth
|
731
|
+
--------------------------------------
|
732
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
733
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
734
|
+
[1m[35m (0.1ms)[0m begin transaction
|
735
|
+
--------------------------------------------------------------------
|
736
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
737
|
+
--------------------------------------------------------------------
|
738
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
739
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "123"], ["created_at", "2016-02-24 20:48:07.527122"], ["updated_at", "2016-02-24 20:48:07.527122"]]
|
740
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
741
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
742
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
743
|
+
--------------------------------------------------------------------------------
|
744
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
745
|
+
--------------------------------------------------------------------------------
|
746
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
747
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "123"], ["created_at", "2016-02-24 20:48:07.531866"], ["updated_at", "2016-02-24 20:48:07.531866"]]
|
748
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
749
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
750
|
+
[1m[35m (0.1ms)[0m begin transaction
|
751
|
+
--------------------------------------
|
752
|
+
ActiveRecord::ResourceTest: test_truth
|
753
|
+
--------------------------------------
|
754
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
755
|
+
[1m[35m (0.0ms)[0m begin transaction
|
756
|
+
----------------------------------------------------------------------
|
757
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
758
|
+
----------------------------------------------------------------------
|
759
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
760
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deletables" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-24 20:48:07.539441"], ["updated_at", "2016-02-24 20:48:07.539441"]]
|
761
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
762
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "deletables" WHERE "deletables"."id" = ? [["id", 1]]
|
763
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
764
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
765
|
+
[1m[35m (0.1ms)[0m begin transaction
|
766
|
+
--------------------------------------
|
767
|
+
ActiveRecord::ResourceTest: test_truth
|
768
|
+
--------------------------------------
|
769
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
770
|
+
[1m[35m (0.0ms)[0m begin transaction
|
771
|
+
--------------------------------------------------------------------
|
772
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
773
|
+
--------------------------------------------------------------------
|
774
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
775
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "123"], ["created_at", "2016-02-24 20:49:03.654627"], ["updated_at", "2016-02-24 20:49:03.654627"]]
|
776
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
777
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
778
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
779
|
+
--------------------------------------------------------------------------------
|
780
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
781
|
+
--------------------------------------------------------------------------------
|
782
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
783
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "123"], ["created_at", "2016-02-24 20:49:03.659273"], ["updated_at", "2016-02-24 20:49:03.659273"]]
|
784
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
785
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
786
|
+
[1m[35m (0.0ms)[0m begin transaction
|
787
|
+
----------------------------------------------------------------------
|
788
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
789
|
+
----------------------------------------------------------------------
|
790
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
791
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "deletables" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-24 20:49:03.664983"], ["updated_at", "2016-02-24 20:49:03.664983"]]
|
792
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
793
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "deletables" WHERE "deletables"."id" = ? [["id", 1]]
|
794
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
795
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
796
|
+
[1m[35m (0.3ms)[0m begin transaction
|
797
|
+
--------------------------------------
|
798
|
+
ActiveRecord::ResourceTest: test_truth
|
799
|
+
--------------------------------------
|
800
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
801
|
+
[1m[35m (0.0ms)[0m begin transaction
|
802
|
+
--------------------------------------------------------------------------------
|
803
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
804
|
+
--------------------------------------------------------------------------------
|
805
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
806
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "123"], ["created_at", "2016-02-24 20:49:55.518754"], ["updated_at", "2016-02-24 20:49:55.518754"]]
|
807
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
808
|
+
[1m[35m (1.1ms)[0m rollback transaction
|
809
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
810
|
+
--------------------------------------------------------------------
|
811
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
812
|
+
--------------------------------------------------------------------
|
813
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
814
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "123"], ["created_at", "2016-02-24 20:49:55.524297"], ["updated_at", "2016-02-24 20:49:55.524297"]]
|
815
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
816
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
817
|
+
[1m[35m (0.1ms)[0m begin transaction
|
818
|
+
----------------------------------------------------------------------
|
819
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
820
|
+
----------------------------------------------------------------------
|
821
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
822
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deletables" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-24 20:49:55.531468"], ["updated_at", "2016-02-24 20:49:55.531468"]]
|
823
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
824
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "deletables" WHERE "deletables"."id" = ? [["id", 1]]
|
825
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
826
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
827
|
+
[1m[35m (0.1ms)[0m begin transaction
|
828
|
+
--------------------------------------
|
829
|
+
ActiveRecord::ResourceTest: test_truth
|
830
|
+
--------------------------------------
|
831
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
832
|
+
[1m[35m (0.0ms)[0m begin transaction
|
833
|
+
----------------------------------------------------------------------
|
834
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
835
|
+
----------------------------------------------------------------------
|
836
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
837
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deletables" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-24 20:50:14.821390"], ["updated_at", "2016-02-24 20:50:14.821390"]]
|
838
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
839
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "deletables" WHERE "deletables"."id" = ? [["id", 1]]
|
840
|
+
[1m[36m (1.1ms)[0m [1mrollback transaction[0m
|
841
|
+
[1m[35m (0.1ms)[0m begin transaction
|
842
|
+
--------------------------------------------------------------------
|
843
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
844
|
+
--------------------------------------------------------------------
|
845
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
846
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "123"], ["created_at", "2016-02-24 20:50:14.835740"], ["updated_at", "2016-02-24 20:50:14.835740"]]
|
847
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
848
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
849
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
850
|
+
--------------------------------------------------------------------------------
|
851
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
852
|
+
--------------------------------------------------------------------------------
|
853
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
854
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "123"], ["created_at", "2016-02-24 20:50:14.838154"], ["updated_at", "2016-02-24 20:50:14.838154"]]
|
855
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
856
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
857
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
858
|
+
[1m[35m (0.1ms)[0m begin transaction
|
859
|
+
--------------------------------------------------------------------
|
860
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
861
|
+
--------------------------------------------------------------------
|
862
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
863
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "123"], ["created_at", "2016-02-24 20:51:36.633540"], ["updated_at", "2016-02-24 20:51:36.633540"]]
|
864
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
865
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
866
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
867
|
+
--------------------------------------------------------------------------------
|
868
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
869
|
+
--------------------------------------------------------------------------------
|
870
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
871
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "123"], ["created_at", "2016-02-24 20:51:36.638778"], ["updated_at", "2016-02-24 20:51:36.638778"]]
|
872
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
873
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
874
|
+
[1m[35m (0.0ms)[0m begin transaction
|
875
|
+
----------------------------------------------------------------------
|
876
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
877
|
+
----------------------------------------------------------------------
|
878
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
879
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "deletables" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-24 20:51:36.645630"], ["updated_at", "2016-02-24 20:51:36.645630"]]
|
880
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
881
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "deletables" WHERE "deletables"."id" = ? [["id", 1]]
|
882
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
883
|
+
[1m[35m (0.0ms)[0m begin transaction
|
884
|
+
--------------------------------------
|
885
|
+
ActiveRecord::ResourceTest: test_truth
|
886
|
+
--------------------------------------
|
887
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
888
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
889
|
+
[1m[35m (0.1ms)[0m begin transaction
|
890
|
+
--------------------------------------------------------------------
|
891
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
892
|
+
--------------------------------------------------------------------
|
893
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
894
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "123"], ["created_at", "2016-02-24 20:51:49.797048"], ["updated_at", "2016-02-24 20:51:49.797048"]]
|
895
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
896
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
897
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
898
|
+
--------------------------------------------------------------------------------
|
899
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
900
|
+
--------------------------------------------------------------------------------
|
901
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
902
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "123"], ["created_at", "2016-02-24 20:51:49.801539"], ["updated_at", "2016-02-24 20:51:49.801539"]]
|
903
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
904
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
905
|
+
[1m[35m (0.0ms)[0m begin transaction
|
906
|
+
--------------------------------------
|
907
|
+
ActiveRecord::ResourceTest: test_truth
|
908
|
+
--------------------------------------
|
909
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
910
|
+
[1m[35m (0.0ms)[0m begin transaction
|
911
|
+
----------------------------------------------------------------------
|
912
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
913
|
+
----------------------------------------------------------------------
|
914
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
915
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "deletables" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-24 20:51:49.807473"], ["updated_at", "2016-02-24 20:51:49.807473"]]
|
916
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
917
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "deletables" WHERE "deletables"."id" = ? [["id", 1]]
|
918
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
919
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
920
|
+
[1m[35m (0.1ms)[0m begin transaction
|
921
|
+
--------------------------------------
|
922
|
+
ActiveRecord::ResourceTest: test_truth
|
923
|
+
--------------------------------------
|
924
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
925
|
+
[1m[35m (0.1ms)[0m begin transaction
|
926
|
+
--------------------------------------------------------------------
|
927
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
928
|
+
--------------------------------------------------------------------
|
929
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
930
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "123"], ["created_at", "2016-02-24 21:04:49.652013"], ["updated_at", "2016-02-24 21:04:49.652013"]]
|
931
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
932
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
933
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
934
|
+
--------------------------------------------------------------------------------
|
935
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
936
|
+
--------------------------------------------------------------------------------
|
937
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
938
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "123"], ["created_at", "2016-02-24 21:04:49.656828"], ["updated_at", "2016-02-24 21:04:49.656828"]]
|
939
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
940
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
941
|
+
[1m[35m (0.0ms)[0m begin transaction
|
942
|
+
----------------------------------------------------------------------
|
943
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
944
|
+
----------------------------------------------------------------------
|
945
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
946
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "deletables" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-24 21:04:49.662157"], ["updated_at", "2016-02-24 21:04:49.662157"]]
|
947
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
948
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "deletables" WHERE "deletables"."id" = ? [["id", 1]]
|
949
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
950
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
951
|
+
[1m[35m (0.1ms)[0m begin transaction
|
952
|
+
--------------------------------------
|
953
|
+
ActiveRecord::ResourceTest: test_truth
|
954
|
+
--------------------------------------
|
955
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
956
|
+
[1m[35m (0.0ms)[0m begin transaction
|
957
|
+
----------------------------------------------------------------------
|
958
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
959
|
+
----------------------------------------------------------------------
|
960
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
961
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "deletables" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-24 21:05:08.750525"], ["updated_at", "2016-02-24 21:05:08.750525"]]
|
962
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
963
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "deletables" WHERE "deletables"."id" = ? [["id", 1]]
|
964
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
965
|
+
[1m[35m (0.0ms)[0m begin transaction
|
966
|
+
--------------------------------------------------------------------
|
967
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
968
|
+
--------------------------------------------------------------------
|
969
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
970
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "123"], ["created_at", "2016-02-24 21:05:08.763920"], ["updated_at", "2016-02-24 21:05:08.763920"]]
|
971
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
972
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
973
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
974
|
+
--------------------------------------------------------------------------------
|
975
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
976
|
+
--------------------------------------------------------------------------------
|
977
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
978
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "123"], ["created_at", "2016-02-24 21:05:08.766279"], ["updated_at", "2016-02-24 21:05:08.766279"]]
|
979
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
980
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
981
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
982
|
+
[1m[35m (0.1ms)[0m begin transaction
|
983
|
+
--------------------------------------
|
984
|
+
ActiveRecord::ResourceTest: test_truth
|
985
|
+
--------------------------------------
|
986
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
987
|
+
[1m[35m (0.2ms)[0m begin transaction
|
988
|
+
--------------------------------------------------------------------
|
989
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
990
|
+
--------------------------------------------------------------------
|
991
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
992
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "123"], ["created_at", "2016-02-24 21:05:42.698434"], ["updated_at", "2016-02-24 21:05:42.698434"]]
|
993
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
994
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
995
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
996
|
+
--------------------------------------------------------------------------------
|
997
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
998
|
+
--------------------------------------------------------------------------------
|
999
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1000
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "123"], ["created_at", "2016-02-24 21:05:42.703965"], ["updated_at", "2016-02-24 21:05:42.703965"]]
|
1001
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1002
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1003
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1004
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1005
|
+
--------------------------------------------------------------------
|
1006
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
1007
|
+
--------------------------------------------------------------------
|
1008
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1009
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "123"], ["created_at", "2016-02-24 21:06:18.749423"], ["updated_at", "2016-02-24 21:06:18.749423"]]
|
1010
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1011
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
1012
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1013
|
+
--------------------------------------------------------------------------------
|
1014
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
1015
|
+
--------------------------------------------------------------------------------
|
1016
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1017
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "123"], ["created_at", "2016-02-24 21:06:18.755556"], ["updated_at", "2016-02-24 21:06:18.755556"]]
|
1018
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1019
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1020
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1021
|
+
--------------------------------------
|
1022
|
+
ActiveRecord::ResourceTest: test_truth
|
1023
|
+
--------------------------------------
|
1024
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1025
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1026
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1027
|
+
--------------------------------------
|
1028
|
+
ActiveRecord::ResourceTest: test_truth
|
1029
|
+
--------------------------------------
|
1030
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1031
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1032
|
+
--------------------------------------------------------------------
|
1033
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
1034
|
+
--------------------------------------------------------------------
|
1035
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1036
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "123"], ["created_at", "2016-02-24 21:06:41.569570"], ["updated_at", "2016-02-24 21:06:41.569570"]]
|
1037
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1038
|
+
[1m[35m (1.1ms)[0m rollback transaction
|
1039
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1040
|
+
--------------------------------------------------------------------------------
|
1041
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
1042
|
+
--------------------------------------------------------------------------------
|
1043
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1044
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "123"], ["created_at", "2016-02-24 21:06:41.574569"], ["updated_at", "2016-02-24 21:06:41.574569"]]
|
1045
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1046
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1047
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1048
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1049
|
+
--------------------------------------------------------------------
|
1050
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
1051
|
+
--------------------------------------------------------------------
|
1052
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1053
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "a"], ["created_at", "2016-02-24 21:13:16.225291"], ["updated_at", "2016-02-24 21:13:16.225291"]]
|
1054
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1055
|
+
[1m[35m (1.1ms)[0m rollback transaction
|
1056
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1057
|
+
--------------------------------------------------------------------------------
|
1058
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
1059
|
+
--------------------------------------------------------------------------------
|
1060
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1061
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "a"], ["created_at", "2016-02-24 21:13:16.230643"], ["updated_at", "2016-02-24 21:13:16.230643"]]
|
1062
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1063
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1064
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1065
|
+
--------------------------------------
|
1066
|
+
ActiveRecord::ResourceTest: test_truth
|
1067
|
+
--------------------------------------
|
1068
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1069
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1070
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1071
|
+
--------------------------------------------------------------------
|
1072
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
1073
|
+
--------------------------------------------------------------------
|
1074
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1075
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1076
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1077
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1078
|
+
--------------------------------------------------------------------------------
|
1079
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
1080
|
+
--------------------------------------------------------------------------------
|
1081
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1082
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1083
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1084
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1085
|
+
--------------------------------------
|
1086
|
+
ActiveRecord::ResourceTest: test_truth
|
1087
|
+
--------------------------------------
|
1088
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1089
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1090
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1091
|
+
--------------------------------------------------------------------------------
|
1092
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
1093
|
+
--------------------------------------------------------------------------------
|
1094
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1095
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1096
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1097
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1098
|
+
--------------------------------------------------------------------
|
1099
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
1100
|
+
--------------------------------------------------------------------
|
1101
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1102
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "a"], ["created_at", "2016-02-24 21:14:43.517839"], ["updated_at", "2016-02-24 21:14:43.517839"]]
|
1103
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1104
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
1105
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1106
|
+
--------------------------------------
|
1107
|
+
ActiveRecord::ResourceTest: test_truth
|
1108
|
+
--------------------------------------
|
1109
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1110
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1111
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "deletables" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1112
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
1113
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
1114
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
1115
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
1116
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160224203842')[0m
|
1117
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160223204747')
|
1118
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1119
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1120
|
+
----------------------------------------------------------------------
|
1121
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
1122
|
+
----------------------------------------------------------------------
|
1123
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1124
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deletables" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-24 21:16:33.025778"], ["updated_at", "2016-02-24 21:16:33.025778"]]
|
1125
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1126
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "deletables" WHERE "deletables"."id" = ? [["id", 1]]
|
1127
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1128
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1129
|
+
--------------------------------------
|
1130
|
+
ActiveRecord::ResourceTest: test_truth
|
1131
|
+
--------------------------------------
|
1132
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1133
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1134
|
+
--------------------------------------------------------------------
|
1135
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
1136
|
+
--------------------------------------------------------------------
|
1137
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1138
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "a"], ["created_at", "2016-02-24 21:16:33.044726"], ["updated_at", "2016-02-24 21:16:33.044726"]]
|
1139
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1140
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1141
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1142
|
+
--------------------------------------------------------------------------------
|
1143
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
1144
|
+
--------------------------------------------------------------------------------
|
1145
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1146
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1147
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1148
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1149
|
+
[1m[35m (0.3ms)[0m begin transaction
|
1150
|
+
--------------------------------------
|
1151
|
+
ActiveRecord::ResourceTest: test_truth
|
1152
|
+
--------------------------------------
|
1153
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1154
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1155
|
+
--------------------------------------------------------------------------------
|
1156
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
1157
|
+
--------------------------------------------------------------------------------
|
1158
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1159
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1160
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1161
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1162
|
+
--------------------------------------------------------------------
|
1163
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
1164
|
+
--------------------------------------------------------------------
|
1165
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1166
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "a"], ["created_at", "2016-02-24 21:18:19.214459"], ["updated_at", "2016-02-24 21:18:19.214459"]]
|
1167
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1168
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
1169
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1170
|
+
----------------------------------------------------------------------
|
1171
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
1172
|
+
----------------------------------------------------------------------
|
1173
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1174
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1175
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "deletables" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1176
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
1177
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
1178
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
1179
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
1180
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160224203842')[0m
|
1181
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160223204747')
|
1182
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1183
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1184
|
+
--------------------------------------------------------------------
|
1185
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
1186
|
+
--------------------------------------------------------------------
|
1187
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1188
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "a"], ["created_at", "2016-02-24 21:21:03.885224"], ["updated_at", "2016-02-24 21:21:03.885224"]]
|
1189
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1190
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
1191
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1192
|
+
--------------------------------------------------------------------------------
|
1193
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
1194
|
+
--------------------------------------------------------------------------------
|
1195
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1196
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1197
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1198
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1199
|
+
----------------------------------------------------------------------
|
1200
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
1201
|
+
----------------------------------------------------------------------
|
1202
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1203
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "a"], ["created_at", "2016-02-24 21:21:03.895613"], ["updated_at", "2016-02-24 21:21:03.895613"]]
|
1204
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1205
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "deletables" WHERE "deletables"."id" = ?[0m [["id", 1]]
|
1206
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1207
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1208
|
+
--------------------------------------
|
1209
|
+
ActiveRecord::ResourceTest: test_truth
|
1210
|
+
--------------------------------------
|
1211
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1212
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1213
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1214
|
+
--------------------------------------------------------------------
|
1215
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
1216
|
+
--------------------------------------------------------------------
|
1217
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1218
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "a"], ["created_at", "2016-02-24 21:21:38.909583"], ["updated_at", "2016-02-24 21:21:38.909583"]]
|
1219
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1220
|
+
[1m[35m (1.2ms)[0m rollback transaction
|
1221
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1222
|
+
--------------------------------------------------------------------------------
|
1223
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
1224
|
+
--------------------------------------------------------------------------------
|
1225
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1226
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1227
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1228
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1229
|
+
--------------------------------------
|
1230
|
+
ActiveRecord::ResourceTest: test_truth
|
1231
|
+
--------------------------------------
|
1232
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1233
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1234
|
+
----------------------------------------------------------------------
|
1235
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
1236
|
+
----------------------------------------------------------------------
|
1237
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1238
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "a"], ["created_at", "2016-02-24 21:21:38.924327"], ["updated_at", "2016-02-24 21:21:38.924327"]]
|
1239
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1240
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "deletables" WHERE "deletables"."id" = ?[0m [["id", 1]]
|
1241
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1242
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1243
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1244
|
+
--------------------------------------
|
1245
|
+
ActiveRecord::ResourceTest: test_truth
|
1246
|
+
--------------------------------------
|
1247
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1248
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1249
|
+
--------------------------------------------------------------------------------
|
1250
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
1251
|
+
--------------------------------------------------------------------------------
|
1252
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1253
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1254
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1255
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1256
|
+
--------------------------------------------------------------------
|
1257
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
1258
|
+
--------------------------------------------------------------------
|
1259
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1260
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "a"], ["created_at", "2016-02-24 21:21:58.878364"], ["updated_at", "2016-02-24 21:21:58.878364"]]
|
1261
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1262
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
1263
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1264
|
+
----------------------------------------------------------------------
|
1265
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
1266
|
+
----------------------------------------------------------------------
|
1267
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1268
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "a"], ["created_at", "2016-02-24 21:21:58.887996"], ["updated_at", "2016-02-24 21:21:58.887996"]]
|
1269
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1270
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "deletables" WHERE "deletables"."id" = ?[0m [["id", 1]]
|
1271
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1272
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1273
|
+
[1m[35m (0.3ms)[0m begin transaction
|
1274
|
+
--------------------------------------
|
1275
|
+
ActiveRecord::ResourceTest: test_truth
|
1276
|
+
--------------------------------------
|
1277
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1278
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1279
|
+
----------------------------------------------------------------------
|
1280
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
1281
|
+
----------------------------------------------------------------------
|
1282
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1283
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "a"], ["created_at", "2016-02-24 21:31:09.330300"], ["updated_at", "2016-02-24 21:31:09.330300"]]
|
1284
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1285
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "deletables" WHERE "deletables"."id" = ? [["id", 1]]
|
1286
|
+
[1m[36m (1.1ms)[0m [1mrollback transaction[0m
|
1287
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1288
|
+
-------------------------------------------------------------------------------------
|
1289
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
1290
|
+
-------------------------------------------------------------------------------------
|
1291
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1292
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1293
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1294
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1295
|
+
--------------------------------------------------------------------
|
1296
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
1297
|
+
--------------------------------------------------------------------
|
1298
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1299
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "a"], ["created_at", "2016-02-24 21:31:09.344539"], ["updated_at", "2016-02-24 21:31:09.344539"]]
|
1300
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1301
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1302
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1303
|
+
--------------------------------------------------------------------------------
|
1304
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
1305
|
+
--------------------------------------------------------------------------------
|
1306
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1307
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1308
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1309
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1310
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1311
|
+
----------------------------------------------------------------------
|
1312
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
1313
|
+
----------------------------------------------------------------------
|
1314
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1315
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "a"], ["created_at", "2016-02-24 21:31:30.754207"], ["updated_at", "2016-02-24 21:31:30.754207"]]
|
1316
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1317
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "deletables" WHERE "deletables"."id" = ? [["id", 1]]
|
1318
|
+
[1m[36m (1.1ms)[0m [1mrollback transaction[0m
|
1319
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1320
|
+
-------------------------------------------------------------------------------------
|
1321
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
1322
|
+
-------------------------------------------------------------------------------------
|
1323
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1324
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1325
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1326
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1327
|
+
--------------------------------------------------------------------
|
1328
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
1329
|
+
--------------------------------------------------------------------
|
1330
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1331
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "a"], ["created_at", "2016-02-24 21:31:30.769573"], ["updated_at", "2016-02-24 21:31:30.769573"]]
|
1332
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1333
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1334
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1335
|
+
--------------------------------------------------------------------------------
|
1336
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
1337
|
+
--------------------------------------------------------------------------------
|
1338
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1339
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1340
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1341
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1342
|
+
--------------------------------------
|
1343
|
+
ActiveRecord::ResourceTest: test_truth
|
1344
|
+
--------------------------------------
|
1345
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1346
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1347
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1348
|
+
--------------------------------------------------------------------
|
1349
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
1350
|
+
--------------------------------------------------------------------
|
1351
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1352
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "a"], ["created_at", "2016-02-24 21:32:27.260631"], ["updated_at", "2016-02-24 21:32:27.260631"]]
|
1353
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1354
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
1355
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1356
|
+
--------------------------------------------------------------------------------
|
1357
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
1358
|
+
--------------------------------------------------------------------------------
|
1359
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1360
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1361
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1362
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1363
|
+
--------------------------------------
|
1364
|
+
ActiveRecord::ResourceTest: test_truth
|
1365
|
+
--------------------------------------
|
1366
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1367
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1368
|
+
----------------------------------------------------------------------
|
1369
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
1370
|
+
----------------------------------------------------------------------
|
1371
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1372
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "a"], ["created_at", "2016-02-24 21:32:27.270825"], ["updated_at", "2016-02-24 21:32:27.270825"]]
|
1373
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1374
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "deletables" WHERE "deletables"."id" = ?[0m [["id", 1]]
|
1375
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1376
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1377
|
+
-------------------------------------------------------------------------------------
|
1378
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
1379
|
+
-------------------------------------------------------------------------------------
|
1380
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1381
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "a"], ["created_at", "2016-02-24 21:32:27.275200"], ["updated_at", "2016-02-24 21:32:27.275200"]]
|
1382
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1383
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "deletables" WHERE "deletables"."id" = ?[0m [["id", 1]]
|
1384
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1385
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1386
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1387
|
+
--------------------------------------
|
1388
|
+
ActiveRecord::ResourceTest: test_truth
|
1389
|
+
--------------------------------------
|
1390
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1391
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1392
|
+
----------------------------------------------------------------------
|
1393
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
1394
|
+
----------------------------------------------------------------------
|
1395
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1396
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1397
|
+
-------------------------------------------------------------------------------------
|
1398
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
1399
|
+
-------------------------------------------------------------------------------------
|
1400
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1401
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1402
|
+
--------------------------------------------------------------------------------
|
1403
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
1404
|
+
--------------------------------------------------------------------------------
|
1405
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1406
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1407
|
+
--------------------------------------------------------------------
|
1408
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
1409
|
+
--------------------------------------------------------------------
|
1410
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1411
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1412
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1413
|
+
----------------------------------------------------------------------
|
1414
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
1415
|
+
----------------------------------------------------------------------
|
1416
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1417
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1418
|
+
-------------------------------------------------------------------------------------
|
1419
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
1420
|
+
-------------------------------------------------------------------------------------
|
1421
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1422
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1423
|
+
--------------------------------------
|
1424
|
+
ActiveRecord::ResourceTest: test_truth
|
1425
|
+
--------------------------------------
|
1426
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1427
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1428
|
+
--------------------------------------------------------------------
|
1429
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
1430
|
+
--------------------------------------------------------------------
|
1431
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1432
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1433
|
+
--------------------------------------------------------------------------------
|
1434
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
1435
|
+
--------------------------------------------------------------------------------
|
1436
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1437
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1438
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1439
|
+
--------------------------------------------------------------------------------
|
1440
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
1441
|
+
--------------------------------------------------------------------------------
|
1442
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1443
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1444
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1445
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1446
|
+
--------------------------------------------------------------------
|
1447
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
1448
|
+
--------------------------------------------------------------------
|
1449
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1450
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "a"], ["created_at", "2016-02-24 21:36:00.260205"], ["updated_at", "2016-02-24 21:36:00.260205"]]
|
1451
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1452
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1453
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1454
|
+
----------------------------------------------------------------------
|
1455
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
1456
|
+
----------------------------------------------------------------------
|
1457
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1458
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "valid"], ["created_at", "2016-02-24 21:36:00.270664"], ["updated_at", "2016-02-24 21:36:00.270664"]]
|
1459
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1460
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "deletables" WHERE "deletables"."id" = ?[0m [["id", 1]]
|
1461
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1462
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1463
|
+
-------------------------------------------------------------------------------------
|
1464
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
1465
|
+
-------------------------------------------------------------------------------------
|
1466
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1467
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1468
|
+
--------------------------------------
|
1469
|
+
ActiveRecord::ResourceTest: test_truth
|
1470
|
+
--------------------------------------
|
1471
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1472
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1473
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1474
|
+
-------------------------------------------------------------------------------------
|
1475
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
1476
|
+
-------------------------------------------------------------------------------------
|
1477
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1478
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1479
|
+
--------------------------------------------------------------------
|
1480
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
1481
|
+
--------------------------------------------------------------------
|
1482
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1483
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "a"], ["created_at", "2016-02-24 21:36:30.763311"], ["updated_at", "2016-02-24 21:36:30.763311"]]
|
1484
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1485
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
1486
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1487
|
+
--------------------------------------------------------------------------------
|
1488
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
1489
|
+
--------------------------------------------------------------------------------
|
1490
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1491
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1492
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1493
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1494
|
+
--------------------------------------
|
1495
|
+
ActiveRecord::ResourceTest: test_truth
|
1496
|
+
--------------------------------------
|
1497
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1498
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1499
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1500
|
+
--------------------------------------
|
1501
|
+
ActiveRecord::ResourceTest: test_truth
|
1502
|
+
--------------------------------------
|
1503
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1504
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1505
|
+
-------------------------------------------------------------------------------------
|
1506
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
1507
|
+
-------------------------------------------------------------------------------------
|
1508
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1509
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1510
|
+
--------------------------------------------------------------------
|
1511
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
1512
|
+
--------------------------------------------------------------------
|
1513
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1514
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "a"], ["created_at", "2016-02-24 21:38:36.394237"], ["updated_at", "2016-02-24 21:38:36.394237"]]
|
1515
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1516
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1517
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1518
|
+
--------------------------------------------------------------------------------
|
1519
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
1520
|
+
--------------------------------------------------------------------------------
|
1521
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1522
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1523
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1524
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1525
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1526
|
+
--------------------------------------
|
1527
|
+
ActiveRecord::ResourceTest: test_truth
|
1528
|
+
--------------------------------------
|
1529
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1530
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1531
|
+
-------------------------------------------------------------------------------------
|
1532
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
1533
|
+
-------------------------------------------------------------------------------------
|
1534
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "deletables"[0m
|
1535
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1536
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1537
|
+
--------------------------------------------------------------------------------
|
1538
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
1539
|
+
--------------------------------------------------------------------------------
|
1540
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1541
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1542
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1543
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1544
|
+
--------------------------------------------------------------------
|
1545
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
1546
|
+
--------------------------------------------------------------------
|
1547
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1548
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "a"], ["created_at", "2016-02-24 21:39:55.290836"], ["updated_at", "2016-02-24 21:39:55.290836"]]
|
1549
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1550
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1551
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1552
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1553
|
+
--------------------------------------------------------------------------------
|
1554
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
1555
|
+
--------------------------------------------------------------------------------
|
1556
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1557
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1558
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1559
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1560
|
+
--------------------------------------------------------------------
|
1561
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
1562
|
+
--------------------------------------------------------------------
|
1563
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1564
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "a"], ["created_at", "2016-02-24 21:40:10.360328"], ["updated_at", "2016-02-24 21:40:10.360328"]]
|
1565
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1566
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1567
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1568
|
+
--------------------------------------
|
1569
|
+
ActiveRecord::ResourceTest: test_truth
|
1570
|
+
--------------------------------------
|
1571
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1572
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1573
|
+
-------------------------------------------------------------------------------------
|
1574
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
1575
|
+
-------------------------------------------------------------------------------------
|
1576
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "deletables"
|
1577
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1578
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1579
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1580
|
+
--------------------------------------
|
1581
|
+
ActiveRecord::ResourceTest: test_truth
|
1582
|
+
--------------------------------------
|
1583
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1584
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1585
|
+
----------------------------------------------------------------------
|
1586
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
1587
|
+
----------------------------------------------------------------------
|
1588
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1589
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1590
|
+
-------------------------------------------------------------------------------------
|
1591
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
1592
|
+
-------------------------------------------------------------------------------------
|
1593
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1594
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1595
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1596
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1597
|
+
--------------------------------------------------------------------------------
|
1598
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
1599
|
+
--------------------------------------------------------------------------------
|
1600
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1601
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1602
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1603
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1604
|
+
--------------------------------------------------------------------
|
1605
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
1606
|
+
--------------------------------------------------------------------
|
1607
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1608
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "a"], ["created_at", "2016-02-24 21:42:40.489451"], ["updated_at", "2016-02-24 21:42:40.489451"]]
|
1609
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1610
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
1611
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1612
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1613
|
+
--------------------------------------
|
1614
|
+
ActiveRecord::ResourceTest: test_truth
|
1615
|
+
--------------------------------------
|
1616
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1617
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1618
|
+
--------------------------------------------------------------------
|
1619
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
1620
|
+
--------------------------------------------------------------------
|
1621
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1622
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "a"], ["created_at", "2016-02-24 21:42:47.564934"], ["updated_at", "2016-02-24 21:42:47.564934"]]
|
1623
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1624
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
1625
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1626
|
+
--------------------------------------------------------------------------------
|
1627
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
1628
|
+
--------------------------------------------------------------------------------
|
1629
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1630
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1631
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1632
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1633
|
+
----------------------------------------------------------------------
|
1634
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
1635
|
+
----------------------------------------------------------------------
|
1636
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1637
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1638
|
+
-------------------------------------------------------------------------------------
|
1639
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
1640
|
+
-------------------------------------------------------------------------------------
|
1641
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1642
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "valid"], ["created_at", "2016-02-24 21:42:47.574242"], ["updated_at", "2016-02-24 21:42:47.574242"]]
|
1643
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1644
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "deletables" WHERE "deletables"."id" = ?[0m [["id", 1]]
|
1645
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1646
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1647
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1648
|
+
--------------------------------------
|
1649
|
+
ActiveRecord::ResourceTest: test_truth
|
1650
|
+
--------------------------------------
|
1651
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1652
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1653
|
+
----------------------------------------------------------------------
|
1654
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
1655
|
+
----------------------------------------------------------------------
|
1656
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1657
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1658
|
+
-------------------------------------------------------------------------------------
|
1659
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
1660
|
+
-------------------------------------------------------------------------------------
|
1661
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1662
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "valid"], ["created_at", "2016-02-24 21:43:19.504915"], ["updated_at", "2016-02-24 21:43:19.504915"]]
|
1663
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1664
|
+
[1m[35m (1.1ms)[0m rollback transaction
|
1665
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
1666
|
+
--------------------------------------------------------------------
|
1667
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
1668
|
+
--------------------------------------------------------------------
|
1669
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1670
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "a"], ["created_at", "2016-02-24 21:43:19.518037"], ["updated_at", "2016-02-24 21:43:19.518037"]]
|
1671
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1672
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1673
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1674
|
+
--------------------------------------------------------------------------------
|
1675
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
1676
|
+
--------------------------------------------------------------------------------
|
1677
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1678
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1679
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1680
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1681
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1682
|
+
--------------------------------------
|
1683
|
+
ActiveRecord::ResourceTest: test_truth
|
1684
|
+
--------------------------------------
|
1685
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1686
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1687
|
+
----------------------------------------------------------------------
|
1688
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
1689
|
+
----------------------------------------------------------------------
|
1690
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1691
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1692
|
+
-------------------------------------------------------------------------------------
|
1693
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
1694
|
+
-------------------------------------------------------------------------------------
|
1695
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1696
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "valid"], ["created_at", "2016-02-24 21:43:29.950955"], ["updated_at", "2016-02-24 21:43:29.950955"]]
|
1697
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1698
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "deletables" WHERE "deletables"."id" = ? [["id", 1]]
|
1699
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
1700
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1701
|
+
--------------------------------------------------------------------
|
1702
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
1703
|
+
--------------------------------------------------------------------
|
1704
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1705
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "a"], ["created_at", "2016-02-24 21:43:29.961394"], ["updated_at", "2016-02-24 21:43:29.961394"]]
|
1706
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1707
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1708
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1709
|
+
--------------------------------------------------------------------------------
|
1710
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
1711
|
+
--------------------------------------------------------------------------------
|
1712
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1713
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1714
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1715
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1716
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1717
|
+
--------------------------------------------------------------------------------
|
1718
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
1719
|
+
--------------------------------------------------------------------------------
|
1720
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1721
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1722
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1723
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1724
|
+
--------------------------------------------------------------------
|
1725
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
1726
|
+
--------------------------------------------------------------------
|
1727
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1728
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "a"], ["created_at", "2016-02-24 21:44:50.758180"], ["updated_at", "2016-02-24 21:44:50.758180"]]
|
1729
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1730
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1731
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1732
|
+
-------------------------------------------------------------------------------------
|
1733
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
1734
|
+
-------------------------------------------------------------------------------------
|
1735
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1736
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "valid"], ["created_at", "2016-02-24 21:44:50.768167"], ["updated_at", "2016-02-24 21:44:50.768167"]]
|
1737
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1738
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1739
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "deletables" SET "number" = ?, "updated_at" = ? WHERE "deletables"."id" = ? [["number", "invalid"], ["updated_at", "2016-02-24 21:44:50.769817"], ["id", 1]]
|
1740
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1741
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "deletables" WHERE "deletables"."id" = ? [["id", 1]]
|
1742
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1743
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1744
|
+
----------------------------------------------------------------------
|
1745
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
1746
|
+
----------------------------------------------------------------------
|
1747
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1748
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1749
|
+
--------------------------------------
|
1750
|
+
ActiveRecord::ResourceTest: test_truth
|
1751
|
+
--------------------------------------
|
1752
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1753
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1754
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1755
|
+
--------------------------------------
|
1756
|
+
ActiveRecord::ResourceTest: test_truth
|
1757
|
+
--------------------------------------
|
1758
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1759
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1760
|
+
-------------------------------------------------------------------------------------
|
1761
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
1762
|
+
-------------------------------------------------------------------------------------
|
1763
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1764
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "invalid"], ["created_at", "2016-02-24 21:45:39.006878"], ["updated_at", "2016-02-24 21:45:39.006878"]]
|
1765
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1766
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "deletables" WHERE "deletables"."id" = ? [["id", 1]]
|
1767
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
1768
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1769
|
+
----------------------------------------------------------------------
|
1770
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
1771
|
+
----------------------------------------------------------------------
|
1772
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1773
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1774
|
+
--------------------------------------------------------------------
|
1775
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
1776
|
+
--------------------------------------------------------------------
|
1777
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1778
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "a"], ["created_at", "2016-02-24 21:45:39.021042"], ["updated_at", "2016-02-24 21:45:39.021042"]]
|
1779
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1780
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1781
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1782
|
+
--------------------------------------------------------------------------------
|
1783
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
1784
|
+
--------------------------------------------------------------------------------
|
1785
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1786
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1787
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1788
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1789
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1790
|
+
----------------------------------------------------------------------
|
1791
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
1792
|
+
----------------------------------------------------------------------
|
1793
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1794
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1795
|
+
-------------------------------------------------------------------------------------
|
1796
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
1797
|
+
-------------------------------------------------------------------------------------
|
1798
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1799
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "invalid"], ["created_at", "2016-02-24 21:45:50.641547"], ["updated_at", "2016-02-24 21:45:50.641547"]]
|
1800
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1801
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1802
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "deletables" WHERE "deletables"."id" = ?[0m [["id", 1]]
|
1803
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1804
|
+
[1m[36m (1.1ms)[0m [1mrollback transaction[0m
|
1805
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1806
|
+
--------------------------------------------------------------------
|
1807
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
1808
|
+
--------------------------------------------------------------------
|
1809
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1810
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "a"], ["created_at", "2016-02-24 21:45:50.654340"], ["updated_at", "2016-02-24 21:45:50.654340"]]
|
1811
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1812
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1813
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1814
|
+
--------------------------------------------------------------------------------
|
1815
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
1816
|
+
--------------------------------------------------------------------------------
|
1817
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1818
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1819
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1820
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1821
|
+
--------------------------------------
|
1822
|
+
ActiveRecord::ResourceTest: test_truth
|
1823
|
+
--------------------------------------
|
1824
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1825
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1826
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1827
|
+
----------------------------------------------------------------------
|
1828
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
1829
|
+
----------------------------------------------------------------------
|
1830
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1831
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1832
|
+
-------------------------------------------------------------------------------------
|
1833
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
1834
|
+
-------------------------------------------------------------------------------------
|
1835
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1836
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "invalid"], ["created_at", "2016-02-24 21:46:10.741946"], ["updated_at", "2016-02-24 21:46:10.741946"]]
|
1837
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1838
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1839
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "deletables" WHERE "deletables"."id" = ?[0m [["id", 1]]
|
1840
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1841
|
+
[1m[36m (1.3ms)[0m [1mrollback transaction[0m
|
1842
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1843
|
+
--------------------------------------
|
1844
|
+
ActiveRecord::ResourceTest: test_truth
|
1845
|
+
--------------------------------------
|
1846
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1847
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1848
|
+
--------------------------------------------------------------------
|
1849
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
1850
|
+
--------------------------------------------------------------------
|
1851
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1852
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "a"], ["created_at", "2016-02-24 21:46:10.757233"], ["updated_at", "2016-02-24 21:46:10.757233"]]
|
1853
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1854
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1855
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1856
|
+
--------------------------------------------------------------------------------
|
1857
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
1858
|
+
--------------------------------------------------------------------------------
|
1859
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1860
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1861
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1862
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1863
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1864
|
+
----------------------------------------------------------------------
|
1865
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
1866
|
+
----------------------------------------------------------------------
|
1867
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1868
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1869
|
+
-------------------------------------------------------------------------------------
|
1870
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
1871
|
+
-------------------------------------------------------------------------------------
|
1872
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1873
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "invalid"], ["created_at", "2016-02-24 21:51:04.609203"], ["updated_at", "2016-02-24 21:51:04.609203"]]
|
1874
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1875
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1876
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1877
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1878
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1879
|
+
--------------------------------------
|
1880
|
+
ActiveRecord::ResourceTest: test_truth
|
1881
|
+
--------------------------------------
|
1882
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1883
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1884
|
+
--------------------------------------------------------------------
|
1885
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
1886
|
+
--------------------------------------------------------------------
|
1887
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1888
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "a"], ["created_at", "2016-02-24 21:51:04.628128"], ["updated_at", "2016-02-24 21:51:04.628128"]]
|
1889
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1890
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1891
|
+
[1m[35m (0.2ms)[0m begin transaction
|
1892
|
+
--------------------------------------------------------------------------------
|
1893
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
1894
|
+
--------------------------------------------------------------------------------
|
1895
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1896
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1897
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1898
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1899
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1900
|
+
--------------------------------------------------------------------
|
1901
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
1902
|
+
--------------------------------------------------------------------
|
1903
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1904
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "a"], ["created_at", "2016-02-24 21:51:18.236998"], ["updated_at", "2016-02-24 21:51:18.236998"]]
|
1905
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1906
|
+
[1m[35m (1.1ms)[0m rollback transaction
|
1907
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1908
|
+
--------------------------------------------------------------------------------
|
1909
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
1910
|
+
--------------------------------------------------------------------------------
|
1911
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1912
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1913
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1914
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1915
|
+
-------------------------------------------------------------------------------------
|
1916
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
1917
|
+
-------------------------------------------------------------------------------------
|
1918
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1919
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "invalid"], ["created_at", "2016-02-24 21:51:18.248974"], ["updated_at", "2016-02-24 21:51:18.248974"]]
|
1920
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1921
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1922
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1923
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1924
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1925
|
+
----------------------------------------------------------------------
|
1926
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
1927
|
+
----------------------------------------------------------------------
|
1928
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1929
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "valid"], ["created_at", "2016-02-24 21:51:18.252071"], ["updated_at", "2016-02-24 21:51:18.252071"]]
|
1930
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1931
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "deletables" WHERE "deletables"."id" = ? [["id", 1]]
|
1932
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1933
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1934
|
+
--------------------------------------
|
1935
|
+
ActiveRecord::ResourceTest: test_truth
|
1936
|
+
--------------------------------------
|
1937
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1938
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1939
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1940
|
+
----------------------------------------------------------------------
|
1941
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
1942
|
+
----------------------------------------------------------------------
|
1943
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1944
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "valid"], ["created_at", "2016-02-24 21:54:10.523141"], ["updated_at", "2016-02-24 21:54:10.523141"]]
|
1945
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1946
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "deletables" WHERE "deletables"."id" = ? [["id", 1]]
|
1947
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
1948
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1949
|
+
-------------------------------------------------------------------------------------
|
1950
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
1951
|
+
-------------------------------------------------------------------------------------
|
1952
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1953
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "invalid"], ["created_at", "2016-02-24 21:54:10.530272"], ["updated_at", "2016-02-24 21:54:10.530272"]]
|
1954
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1955
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1956
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "deletables" WHERE "deletables"."id" = ?[0m [["id", 1]]
|
1957
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1958
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1959
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1960
|
+
--------------------------------------------------------------------
|
1961
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
1962
|
+
--------------------------------------------------------------------
|
1963
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1964
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "a"], ["created_at", "2016-02-24 21:54:10.536564"], ["updated_at", "2016-02-24 21:54:10.536564"]]
|
1965
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1966
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1967
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1968
|
+
--------------------------------------------------------------------------------
|
1969
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
1970
|
+
--------------------------------------------------------------------------------
|
1971
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1972
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1973
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1974
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1975
|
+
--------------------------------------
|
1976
|
+
ActiveRecord::ResourceTest: test_truth
|
1977
|
+
--------------------------------------
|
1978
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1979
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1980
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1981
|
+
--------------------------------------------------------------------
|
1982
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
1983
|
+
--------------------------------------------------------------------
|
1984
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1985
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "a"], ["created_at", "2016-02-24 21:54:43.720148"], ["updated_at", "2016-02-24 21:54:43.720148"]]
|
1986
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1987
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
1988
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1989
|
+
--------------------------------------------------------------------------------
|
1990
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
1991
|
+
--------------------------------------------------------------------------------
|
1992
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1993
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1994
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1995
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1996
|
+
--------------------------------------
|
1997
|
+
ActiveRecord::ResourceTest: test_truth
|
1998
|
+
--------------------------------------
|
1999
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2000
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2001
|
+
-------------------------------------------------------------------------------------
|
2002
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
2003
|
+
-------------------------------------------------------------------------------------
|
2004
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2005
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "invalid"], ["created_at", "2016-02-24 21:54:43.732037"], ["updated_at", "2016-02-24 21:54:43.732037"]]
|
2006
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2007
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2008
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2009
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2010
|
+
[1m[35m (0.2ms)[0m begin transaction
|
2011
|
+
----------------------------------------------------------------------
|
2012
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
2013
|
+
----------------------------------------------------------------------
|
2014
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2015
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "valid"], ["created_at", "2016-02-24 21:54:43.734985"], ["updated_at", "2016-02-24 21:54:43.734985"]]
|
2016
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2017
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "deletables" WHERE "deletables"."id" = ? [["id", 1]]
|
2018
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2019
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2020
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2021
|
+
--------------------------------------
|
2022
|
+
ActiveRecord::ResourceTest: test_truth
|
2023
|
+
--------------------------------------
|
2024
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2025
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2026
|
+
----------------------------------------------------------------------
|
2027
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
2028
|
+
----------------------------------------------------------------------
|
2029
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2030
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "valid"], ["created_at", "2016-02-24 21:55:17.860486"], ["updated_at", "2016-02-24 21:55:17.860486"]]
|
2031
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2032
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "deletables" WHERE "deletables"."id" = ? [["id", 1]]
|
2033
|
+
[1m[36m (1.1ms)[0m [1mrollback transaction[0m
|
2034
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2035
|
+
-------------------------------------------------------------------------------------
|
2036
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
2037
|
+
-------------------------------------------------------------------------------------
|
2038
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2039
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "invalid"], ["created_at", "2016-02-24 21:55:17.867753"], ["updated_at", "2016-02-24 21:55:17.867753"]]
|
2040
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2041
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2042
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2043
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2044
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2045
|
+
--------------------------------------------------------------------
|
2046
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
2047
|
+
--------------------------------------------------------------------
|
2048
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2049
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "a"], ["created_at", "2016-02-24 21:55:17.876140"], ["updated_at", "2016-02-24 21:55:17.876140"]]
|
2050
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2051
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2052
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2053
|
+
--------------------------------------------------------------------------------
|
2054
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
2055
|
+
--------------------------------------------------------------------------------
|
2056
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2057
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2058
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2059
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2060
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2061
|
+
-------------------------------------------------------------------------------------
|
2062
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
2063
|
+
-------------------------------------------------------------------------------------
|
2064
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2065
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "invalid"], ["created_at", "2016-02-24 21:55:29.873608"], ["updated_at", "2016-02-24 21:55:29.873608"]]
|
2066
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2067
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2068
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2069
|
+
[1m[35m (1.1ms)[0m rollback transaction
|
2070
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2071
|
+
----------------------------------------------------------------------
|
2072
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
2073
|
+
----------------------------------------------------------------------
|
2074
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2075
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "valid"], ["created_at", "2016-02-24 21:55:29.883150"], ["updated_at", "2016-02-24 21:55:29.883150"]]
|
2076
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2077
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "deletables" WHERE "deletables"."id" = ?[0m [["id", 1]]
|
2078
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2079
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2080
|
+
--------------------------------------
|
2081
|
+
ActiveRecord::ResourceTest: test_truth
|
2082
|
+
--------------------------------------
|
2083
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2084
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2085
|
+
--------------------------------------------------------------------
|
2086
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
2087
|
+
--------------------------------------------------------------------
|
2088
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2089
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "a"], ["created_at", "2016-02-24 21:55:29.894107"], ["updated_at", "2016-02-24 21:55:29.894107"]]
|
2090
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2091
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2092
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2093
|
+
--------------------------------------------------------------------------------
|
2094
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
2095
|
+
--------------------------------------------------------------------------------
|
2096
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2097
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2098
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2099
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2100
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2101
|
+
--------------------------------------
|
2102
|
+
ActiveRecord::ResourceTest: test_truth
|
2103
|
+
--------------------------------------
|
2104
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2105
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2106
|
+
----------------------------------------------------------------------
|
2107
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
2108
|
+
----------------------------------------------------------------------
|
2109
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2110
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "valid"], ["created_at", "2016-02-24 21:55:50.048208"], ["updated_at", "2016-02-24 21:55:50.048208"]]
|
2111
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2112
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "deletables" WHERE "deletables"."id" = ? [["id", 1]]
|
2113
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
2114
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2115
|
+
-------------------------------------------------------------------------------------
|
2116
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
2117
|
+
-------------------------------------------------------------------------------------
|
2118
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2119
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "invalid"], ["created_at", "2016-02-24 21:55:50.054923"], ["updated_at", "2016-02-24 21:55:50.054923"]]
|
2120
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2121
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2122
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2123
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2124
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2125
|
+
--------------------------------------------------------------------------------
|
2126
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
2127
|
+
--------------------------------------------------------------------------------
|
2128
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2129
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2130
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2131
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2132
|
+
--------------------------------------------------------------------
|
2133
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
2134
|
+
--------------------------------------------------------------------
|
2135
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2136
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "a"], ["created_at", "2016-02-24 21:55:50.061472"], ["updated_at", "2016-02-24 21:55:50.061472"]]
|
2137
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2138
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2139
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2140
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2141
|
+
----------------------------------------------------------------------
|
2142
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
2143
|
+
----------------------------------------------------------------------
|
2144
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2145
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2146
|
+
-------------------------------------------------------------------------------------
|
2147
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
2148
|
+
-------------------------------------------------------------------------------------
|
2149
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2150
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "invalid"], ["created_at", "2016-02-24 21:56:03.083137"], ["updated_at", "2016-02-24 21:56:03.083137"]]
|
2151
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2152
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2153
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2154
|
+
[1m[35m (1.1ms)[0m rollback transaction
|
2155
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2156
|
+
--------------------------------------------------------------------
|
2157
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
2158
|
+
--------------------------------------------------------------------
|
2159
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2160
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "a"], ["created_at", "2016-02-24 21:56:03.097138"], ["updated_at", "2016-02-24 21:56:03.097138"]]
|
2161
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2162
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2163
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2164
|
+
--------------------------------------------------------------------------------
|
2165
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
2166
|
+
--------------------------------------------------------------------------------
|
2167
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2168
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2169
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2170
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2171
|
+
--------------------------------------
|
2172
|
+
ActiveRecord::ResourceTest: test_truth
|
2173
|
+
--------------------------------------
|
2174
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2175
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2176
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2177
|
+
--------------------------------------------------------------------
|
2178
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
2179
|
+
--------------------------------------------------------------------
|
2180
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2181
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "a"], ["created_at", "2016-02-24 21:56:57.402886"], ["updated_at", "2016-02-24 21:56:57.402886"]]
|
2182
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2183
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
2184
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2185
|
+
--------------------------------------------------------------------------------
|
2186
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
2187
|
+
--------------------------------------------------------------------------------
|
2188
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2189
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2190
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2191
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2192
|
+
----------------------------------------------------------------------
|
2193
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
2194
|
+
----------------------------------------------------------------------
|
2195
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2196
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2197
|
+
-------------------------------------------------------------------------------------
|
2198
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
2199
|
+
-------------------------------------------------------------------------------------
|
2200
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2201
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "invalid"], ["created_at", "2016-02-24 21:56:57.412640"], ["updated_at", "2016-02-24 21:56:57.412640"]]
|
2202
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2203
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2204
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2205
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2206
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2207
|
+
--------------------------------------
|
2208
|
+
ActiveRecord::ResourceTest: test_truth
|
2209
|
+
--------------------------------------
|
2210
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2211
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2212
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2213
|
+
-------------------------------------------------------------------------------------
|
2214
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
2215
|
+
-------------------------------------------------------------------------------------
|
2216
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2217
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "invalid"], ["created_at", "2016-02-24 22:01:22.197160"], ["updated_at", "2016-02-24 22:01:22.197160"]]
|
2218
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2219
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2220
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2221
|
+
[1m[35m (1.1ms)[0m rollback transaction
|
2222
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2223
|
+
----------------------------------------------------------------------
|
2224
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
2225
|
+
----------------------------------------------------------------------
|
2226
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2227
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2228
|
+
--------------------------------------
|
2229
|
+
ActiveRecord::ResourceTest: test_truth
|
2230
|
+
--------------------------------------
|
2231
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2232
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2233
|
+
--------------------------------------------------------------------
|
2234
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
2235
|
+
--------------------------------------------------------------------
|
2236
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2237
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "a"], ["created_at", "2016-02-24 22:01:22.214232"], ["updated_at", "2016-02-24 22:01:22.214232"]]
|
2238
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2239
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2240
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2241
|
+
--------------------------------------------------------------------------------
|
2242
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
2243
|
+
--------------------------------------------------------------------------------
|
2244
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2245
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2246
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2247
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2248
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2249
|
+
--------------------------------------
|
2250
|
+
ActiveRecord::ResourceTest: test_truth
|
2251
|
+
--------------------------------------
|
2252
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2253
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2254
|
+
----------------------------------------------------------------------
|
2255
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
2256
|
+
----------------------------------------------------------------------
|
2257
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2258
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "valid"], ["created_at", "2016-02-24 22:01:33.885110"], ["updated_at", "2016-02-24 22:01:33.885110"]]
|
2259
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2260
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "deletables" WHERE "deletables"."id" = ? [["id", 1]]
|
2261
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
2262
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2263
|
+
-------------------------------------------------------------------------------------
|
2264
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
2265
|
+
-------------------------------------------------------------------------------------
|
2266
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2267
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "invalid"], ["created_at", "2016-02-24 22:01:33.892376"], ["updated_at", "2016-02-24 22:01:33.892376"]]
|
2268
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2269
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2270
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2271
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2272
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2273
|
+
--------------------------------------------------------------------
|
2274
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
2275
|
+
--------------------------------------------------------------------
|
2276
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2277
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "a"], ["created_at", "2016-02-24 22:01:33.898853"], ["updated_at", "2016-02-24 22:01:33.898853"]]
|
2278
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2279
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2280
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2281
|
+
--------------------------------------------------------------------------------
|
2282
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
2283
|
+
--------------------------------------------------------------------------------
|
2284
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2285
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2286
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2287
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2288
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2289
|
+
----------------------------------------------------------------------
|
2290
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
2291
|
+
----------------------------------------------------------------------
|
2292
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2293
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "valid"], ["created_at", "2016-02-24 22:03:46.172319"], ["updated_at", "2016-02-24 22:03:46.172319"]]
|
2294
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2295
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "deletables" WHERE "deletables"."id" = ? [["id", 1]]
|
2296
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2297
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2298
|
+
-------------------------------------------------------------------------------------
|
2299
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
2300
|
+
-------------------------------------------------------------------------------------
|
2301
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2302
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "invalid"], ["created_at", "2016-02-24 22:03:46.178371"], ["updated_at", "2016-02-24 22:03:46.178371"]]
|
2303
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2304
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2305
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2306
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2307
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2308
|
+
--------------------------------------------------------------------------------
|
2309
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
2310
|
+
--------------------------------------------------------------------------------
|
2311
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2312
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2313
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2314
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2315
|
+
--------------------------------------------------------------------
|
2316
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
2317
|
+
--------------------------------------------------------------------
|
2318
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2319
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "a"], ["created_at", "2016-02-24 22:03:46.187925"], ["updated_at", "2016-02-24 22:03:46.187925"]]
|
2320
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2321
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2322
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2323
|
+
--------------------------------------
|
2324
|
+
ActiveRecord::ResourceTest: test_truth
|
2325
|
+
--------------------------------------
|
2326
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2327
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2328
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2329
|
+
--------------------------------------
|
2330
|
+
ActiveRecord::ResourceTest: test_truth
|
2331
|
+
--------------------------------------
|
2332
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2333
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2334
|
+
-------------------------------------------------------------------------------------
|
2335
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
2336
|
+
-------------------------------------------------------------------------------------
|
2337
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2338
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "invalid"], ["created_at", "2016-02-24 22:04:11.424123"], ["updated_at", "2016-02-24 22:04:11.424123"]]
|
2339
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2340
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2341
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2342
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
2343
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2344
|
+
----------------------------------------------------------------------
|
2345
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
2346
|
+
----------------------------------------------------------------------
|
2347
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2348
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "valid"], ["created_at", "2016-02-24 22:04:11.433031"], ["updated_at", "2016-02-24 22:04:11.433031"]]
|
2349
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2350
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "deletables" WHERE "deletables"."id" = ?[0m [["id", 1]]
|
2351
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2352
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2353
|
+
--------------------------------------------------------------------
|
2354
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
2355
|
+
--------------------------------------------------------------------
|
2356
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2357
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "a"], ["created_at", "2016-02-24 22:04:11.442558"], ["updated_at", "2016-02-24 22:04:11.442558"]]
|
2358
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2359
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2360
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2361
|
+
--------------------------------------------------------------------------------
|
2362
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
2363
|
+
--------------------------------------------------------------------------------
|
2364
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2365
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2366
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2367
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2368
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2369
|
+
--------------------------------------------------------------------
|
2370
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
2371
|
+
--------------------------------------------------------------------
|
2372
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2373
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "a"], ["created_at", "2016-02-24 22:04:37.791068"], ["updated_at", "2016-02-24 22:04:37.791068"]]
|
2374
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2375
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
2376
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2377
|
+
--------------------------------------------------------------------------------
|
2378
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
2379
|
+
--------------------------------------------------------------------------------
|
2380
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2381
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2382
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2383
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2384
|
+
----------------------------------------------------------------------
|
2385
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
2386
|
+
----------------------------------------------------------------------
|
2387
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2388
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "valid"], ["created_at", "2016-02-24 22:04:37.800663"], ["updated_at", "2016-02-24 22:04:37.800663"]]
|
2389
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2390
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "deletables" WHERE "deletables"."id" = ?[0m [["id", 1]]
|
2391
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2392
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2393
|
+
-------------------------------------------------------------------------------------
|
2394
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
2395
|
+
-------------------------------------------------------------------------------------
|
2396
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2397
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "invalid"], ["created_at", "2016-02-24 22:04:37.804913"], ["updated_at", "2016-02-24 22:04:37.804913"]]
|
2398
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2399
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2400
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2401
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2402
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2403
|
+
--------------------------------------
|
2404
|
+
ActiveRecord::ResourceTest: test_truth
|
2405
|
+
--------------------------------------
|
2406
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2407
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2408
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2409
|
+
----------------------------------------------------------------------
|
2410
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
2411
|
+
----------------------------------------------------------------------
|
2412
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2413
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "valid"], ["created_at", "2016-02-24 22:04:52.686201"], ["updated_at", "2016-02-24 22:04:52.686201"]]
|
2414
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2415
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "deletables" WHERE "deletables"."id" = ? [["id", 1]]
|
2416
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
2417
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2418
|
+
-------------------------------------------------------------------------------------
|
2419
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
2420
|
+
-------------------------------------------------------------------------------------
|
2421
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2422
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "invalid"], ["created_at", "2016-02-24 22:04:52.693457"], ["updated_at", "2016-02-24 22:04:52.693457"]]
|
2423
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2424
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2425
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2426
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2427
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2428
|
+
--------------------------------------
|
2429
|
+
ActiveRecord::ResourceTest: test_truth
|
2430
|
+
--------------------------------------
|
2431
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2432
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2433
|
+
--------------------------------------------------------------------
|
2434
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
2435
|
+
--------------------------------------------------------------------
|
2436
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2437
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "a"], ["created_at", "2016-02-24 22:04:52.702205"], ["updated_at", "2016-02-24 22:04:52.702205"]]
|
2438
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2439
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2440
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2441
|
+
--------------------------------------------------------------------------------
|
2442
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
2443
|
+
--------------------------------------------------------------------------------
|
2444
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2445
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2446
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2447
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2448
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2449
|
+
----------------------------------------------------------------------
|
2450
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
2451
|
+
----------------------------------------------------------------------
|
2452
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2453
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "valid"], ["created_at", "2016-02-24 22:07:55.387969"], ["updated_at", "2016-02-24 22:07:55.387969"]]
|
2454
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2455
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2456
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2457
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
2458
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2459
|
+
-------------------------------------------------------------------------------------
|
2460
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
2461
|
+
-------------------------------------------------------------------------------------
|
2462
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2463
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "invalid"], ["created_at", "2016-02-24 22:07:55.393399"], ["updated_at", "2016-02-24 22:07:55.393399"]]
|
2464
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2465
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2466
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2467
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2468
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2469
|
+
--------------------------------------------------------------------
|
2470
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
2471
|
+
--------------------------------------------------------------------
|
2472
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2473
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "a"], ["created_at", "2016-02-24 22:07:55.399955"], ["updated_at", "2016-02-24 22:07:55.399955"]]
|
2474
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2475
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2476
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2477
|
+
--------------------------------------------------------------------------------
|
2478
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
2479
|
+
--------------------------------------------------------------------------------
|
2480
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2481
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2482
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2483
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2484
|
+
--------------------------------------
|
2485
|
+
ActiveRecord::ResourceTest: test_truth
|
2486
|
+
--------------------------------------
|
2487
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2488
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2489
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2490
|
+
--------------------------------------
|
2491
|
+
ActiveRecord::ResourceTest: test_truth
|
2492
|
+
--------------------------------------
|
2493
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2494
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2495
|
+
-------------------------------------------------------------------------------------
|
2496
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
2497
|
+
-------------------------------------------------------------------------------------
|
2498
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2499
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "invalid"], ["created_at", "2016-02-24 22:08:03.085440"], ["updated_at", "2016-02-24 22:08:03.085440"]]
|
2500
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2501
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2502
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2503
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
2504
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2505
|
+
----------------------------------------------------------------------
|
2506
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
2507
|
+
----------------------------------------------------------------------
|
2508
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2509
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "valid"], ["created_at", "2016-02-24 22:08:03.093700"], ["updated_at", "2016-02-24 22:08:03.093700"]]
|
2510
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2511
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2512
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "deletables" WHERE "deletables"."id" = ? [["id", 1]]
|
2513
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2514
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2515
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2516
|
+
--------------------------------------------------------------------
|
2517
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
2518
|
+
--------------------------------------------------------------------
|
2519
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2520
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "a"], ["created_at", "2016-02-24 22:08:03.100003"], ["updated_at", "2016-02-24 22:08:03.100003"]]
|
2521
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2522
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2523
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2524
|
+
--------------------------------------------------------------------------------
|
2525
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
2526
|
+
--------------------------------------------------------------------------------
|
2527
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2528
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2529
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2530
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2531
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2532
|
+
----------------------------------------------------------------------
|
2533
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
2534
|
+
----------------------------------------------------------------------
|
2535
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2536
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "valid"], ["created_at", "2016-02-24 22:08:14.900856"], ["updated_at", "2016-02-24 22:08:14.900856"]]
|
2537
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2538
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2539
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "deletables" WHERE "deletables"."id" = ?[0m [["id", 1]]
|
2540
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2541
|
+
[1m[36m (1.2ms)[0m [1mrollback transaction[0m
|
2542
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2543
|
+
-------------------------------------------------------------------------------------
|
2544
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
2545
|
+
-------------------------------------------------------------------------------------
|
2546
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2547
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "invalid"], ["created_at", "2016-02-24 22:08:14.906645"], ["updated_at", "2016-02-24 22:08:14.906645"]]
|
2548
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2549
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2550
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2551
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2552
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2553
|
+
--------------------------------------
|
2554
|
+
ActiveRecord::ResourceTest: test_truth
|
2555
|
+
--------------------------------------
|
2556
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2557
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2558
|
+
--------------------------------------------------------------------
|
2559
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
2560
|
+
--------------------------------------------------------------------
|
2561
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2562
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "a"], ["created_at", "2016-02-24 22:08:14.913665"], ["updated_at", "2016-02-24 22:08:14.913665"]]
|
2563
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2564
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2565
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2566
|
+
--------------------------------------------------------------------------------
|
2567
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
2568
|
+
--------------------------------------------------------------------------------
|
2569
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2570
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2571
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2572
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2573
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2574
|
+
--------------------------------------
|
2575
|
+
ActiveRecord::ResourceTest: test_truth
|
2576
|
+
--------------------------------------
|
2577
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2578
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2579
|
+
-------------------------------------------------------------------------------------
|
2580
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
2581
|
+
-------------------------------------------------------------------------------------
|
2582
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2583
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "invalid"], ["created_at", "2016-02-24 22:08:47.856840"], ["updated_at", "2016-02-24 22:08:47.856840"]]
|
2584
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2585
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2586
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2587
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
2588
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2589
|
+
----------------------------------------------------------------------
|
2590
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
2591
|
+
----------------------------------------------------------------------
|
2592
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2593
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "valid"], ["created_at", "2016-02-24 22:08:47.865345"], ["updated_at", "2016-02-24 22:08:47.865345"]]
|
2594
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2595
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2596
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "deletables" WHERE "deletables"."id" = ? [["id", 1]]
|
2597
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2598
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2599
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2600
|
+
--------------------------------------------------------------------
|
2601
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
2602
|
+
--------------------------------------------------------------------
|
2603
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2604
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "a"], ["created_at", "2016-02-24 22:08:47.873031"], ["updated_at", "2016-02-24 22:08:47.873031"]]
|
2605
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2606
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2607
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2608
|
+
--------------------------------------------------------------------------------
|
2609
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
2610
|
+
--------------------------------------------------------------------------------
|
2611
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2612
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2613
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2614
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2615
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2616
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "deletables" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2617
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
2618
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
2619
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
2620
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
2621
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160224203842')[0m
|
2622
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160223204747')
|
2623
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
2624
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2625
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2626
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "deletables" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2627
|
+
[1m[36m (0.7ms)[0m [1mCREATE TABLE "updatables" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2628
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
2629
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
2630
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
2631
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
2632
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160224221749')
|
2633
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160223204747')[0m
|
2634
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160224203842')
|
2635
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
2636
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2637
|
+
-------------------------------------------------------------------------------------
|
2638
|
+
UpdatableTest: test_it_calls_the_resource_update_validations_callback_before_deleting
|
2639
|
+
-------------------------------------------------------------------------------------
|
2640
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2641
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2642
|
+
---------------------------------------------------------------------
|
2643
|
+
UpdatableTest: test_it_calls_the_resource_update_callback_when_update
|
2644
|
+
---------------------------------------------------------------------
|
2645
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2646
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2647
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2648
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "updatables" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "valid"], ["created_at", "2016-02-24 22:22:35.578197"], ["updated_at", "2016-02-24 22:22:35.578197"]]
|
2649
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2650
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2651
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2652
|
+
--------------------------------------------------------------------
|
2653
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
2654
|
+
--------------------------------------------------------------------
|
2655
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2656
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2657
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2658
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2659
|
+
--------------------------------------------------------------------------------
|
2660
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
2661
|
+
--------------------------------------------------------------------------------
|
2662
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2663
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2664
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2665
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2666
|
+
----------------------------------------------------------------------
|
2667
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
2668
|
+
----------------------------------------------------------------------
|
2669
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2670
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "valid"], ["created_at", "2016-02-24 22:22:35.596959"], ["updated_at", "2016-02-24 22:22:35.596959"]]
|
2671
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2672
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2673
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "deletables" WHERE "deletables"."id" = ?[0m [["id", 1]]
|
2674
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2675
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2676
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2677
|
+
-------------------------------------------------------------------------------------
|
2678
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
2679
|
+
-------------------------------------------------------------------------------------
|
2680
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2681
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "invalid"], ["created_at", "2016-02-24 22:22:35.599918"], ["updated_at", "2016-02-24 22:22:35.599918"]]
|
2682
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2683
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2684
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2685
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2686
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2687
|
+
--------------------------------------
|
2688
|
+
ActiveRecord::ResourceTest: test_truth
|
2689
|
+
--------------------------------------
|
2690
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2691
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2692
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2693
|
+
--------------------------------------------------------------------------------
|
2694
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
2695
|
+
--------------------------------------------------------------------------------
|
2696
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2697
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2698
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2699
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2700
|
+
--------------------------------------------------------------------
|
2701
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
2702
|
+
--------------------------------------------------------------------
|
2703
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2704
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "a"], ["created_at", "2016-02-24 22:23:25.821953"], ["updated_at", "2016-02-24 22:23:25.821953"]]
|
2705
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2706
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
2707
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2708
|
+
--------------------------------------
|
2709
|
+
ActiveRecord::ResourceTest: test_truth
|
2710
|
+
--------------------------------------
|
2711
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2712
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2713
|
+
----------------------------------------------------------------------
|
2714
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
2715
|
+
----------------------------------------------------------------------
|
2716
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2717
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "valid"], ["created_at", "2016-02-24 22:23:25.833427"], ["updated_at", "2016-02-24 22:23:25.833427"]]
|
2718
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2719
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2720
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "deletables" WHERE "deletables"."id" = ? [["id", 1]]
|
2721
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2722
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2723
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2724
|
+
-------------------------------------------------------------------------------------
|
2725
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
2726
|
+
-------------------------------------------------------------------------------------
|
2727
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2728
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "invalid"], ["created_at", "2016-02-24 22:23:25.836596"], ["updated_at", "2016-02-24 22:23:25.836596"]]
|
2729
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2730
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2731
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2732
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2733
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2734
|
+
---------------------------------------------------------------------
|
2735
|
+
UpdatableTest: test_it_calls_the_resource_update_callback_when_update
|
2736
|
+
---------------------------------------------------------------------
|
2737
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2738
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2739
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2740
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "updatables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "valid"], ["created_at", "2016-02-24 22:23:25.842557"], ["updated_at", "2016-02-24 22:23:25.842557"]]
|
2741
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2742
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2743
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2744
|
+
-------------------------------------------------------------------------------------
|
2745
|
+
UpdatableTest: test_it_calls_the_resource_update_validations_callback_before_deleting
|
2746
|
+
-------------------------------------------------------------------------------------
|
2747
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2748
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2749
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2750
|
+
---------------------------------------------------------------------
|
2751
|
+
UpdatableTest: test_it_calls_the_resource_update_callback_when_update
|
2752
|
+
---------------------------------------------------------------------
|
2753
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2754
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2755
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2756
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "updatables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "valid"], ["created_at", "2016-02-24 22:24:38.984317"], ["updated_at", "2016-02-24 22:24:38.984317"]]
|
2757
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2758
|
+
[1m[35m (1.2ms)[0m rollback transaction
|
2759
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2760
|
+
-------------------------------------------------------------------------------------
|
2761
|
+
UpdatableTest: test_it_calls_the_resource_update_validations_callback_before_deleting
|
2762
|
+
-------------------------------------------------------------------------------------
|
2763
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2764
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2765
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2766
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2767
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2768
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2769
|
+
--------------------------------------
|
2770
|
+
ActiveRecord::ResourceTest: test_truth
|
2771
|
+
--------------------------------------
|
2772
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2773
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2774
|
+
----------------------------------------------------------------------
|
2775
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
2776
|
+
----------------------------------------------------------------------
|
2777
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2778
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "valid"], ["created_at", "2016-02-24 22:24:38.999223"], ["updated_at", "2016-02-24 22:24:38.999223"]]
|
2779
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2780
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2781
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "deletables" WHERE "deletables"."id" = ? [["id", 1]]
|
2782
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2783
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2784
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2785
|
+
-------------------------------------------------------------------------------------
|
2786
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
2787
|
+
-------------------------------------------------------------------------------------
|
2788
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2789
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "invalid"], ["created_at", "2016-02-24 22:24:39.002669"], ["updated_at", "2016-02-24 22:24:39.002669"]]
|
2790
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2791
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2792
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2793
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2794
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2795
|
+
--------------------------------------------------------------------
|
2796
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
2797
|
+
--------------------------------------------------------------------
|
2798
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2799
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "a"], ["created_at", "2016-02-24 22:24:39.009462"], ["updated_at", "2016-02-24 22:24:39.009462"]]
|
2800
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2801
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2802
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2803
|
+
--------------------------------------------------------------------------------
|
2804
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
2805
|
+
--------------------------------------------------------------------------------
|
2806
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2807
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2808
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2809
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2810
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2811
|
+
--------------------------------------------------------------------
|
2812
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
2813
|
+
--------------------------------------------------------------------
|
2814
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2815
|
+
[1m[35mSQL (1.1ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "a"], ["created_at", "2016-02-24 22:27:01.843149"], ["updated_at", "2016-02-24 22:27:01.843149"]]
|
2816
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2817
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2818
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2819
|
+
--------------------------------------------------------------------------------
|
2820
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
2821
|
+
--------------------------------------------------------------------------------
|
2822
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2823
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2824
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2825
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2826
|
+
--------------------------------------
|
2827
|
+
ActiveRecord::ResourceTest: test_truth
|
2828
|
+
--------------------------------------
|
2829
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2830
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2831
|
+
---------------------------------------------------------------------
|
2832
|
+
UpdatableTest: test_it_calls_the_resource_update_callback_when_update
|
2833
|
+
---------------------------------------------------------------------
|
2834
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2835
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "updatables" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "a"], ["created_at", "2016-02-24 22:27:01.855084"], ["updated_at", "2016-02-24 22:27:01.855084"]]
|
2836
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2837
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2838
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "updatables" SET "number" = ?, "updated_at" = ? WHERE "updatables"."id" = ? [["number", "valid"], ["updated_at", "2016-02-24 22:27:01.856747"], ["id", 1]]
|
2839
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2840
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
2841
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2842
|
+
-------------------------------------------------------------------------------------
|
2843
|
+
UpdatableTest: test_it_calls_the_resource_update_validations_callback_before_deleting
|
2844
|
+
-------------------------------------------------------------------------------------
|
2845
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2846
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "updatables" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "a"], ["created_at", "2016-02-24 22:27:01.863075"], ["updated_at", "2016-02-24 22:27:01.863075"]]
|
2847
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2848
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2849
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2850
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2851
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2852
|
+
----------------------------------------------------------------------
|
2853
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
2854
|
+
----------------------------------------------------------------------
|
2855
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2856
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "valid"], ["created_at", "2016-02-24 22:27:01.869252"], ["updated_at", "2016-02-24 22:27:01.869252"]]
|
2857
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2858
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2859
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "deletables" WHERE "deletables"."id" = ?[0m [["id", 1]]
|
2860
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2861
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
2862
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2863
|
+
-------------------------------------------------------------------------------------
|
2864
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
2865
|
+
-------------------------------------------------------------------------------------
|
2866
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2867
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "invalid"], ["created_at", "2016-02-24 22:27:01.882683"], ["updated_at", "2016-02-24 22:27:01.882683"]]
|
2868
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2869
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2870
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2871
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2872
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2873
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2874
|
+
--------------------------------------------------------------------
|
2875
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
2876
|
+
--------------------------------------------------------------------
|
2877
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2878
|
+
[1m[35mSQL (1.1ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "a"], ["created_at", "2016-02-24 22:27:28.229560"], ["updated_at", "2016-02-24 22:27:28.229560"]]
|
2879
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2880
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2881
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2882
|
+
--------------------------------------------------------------------------------
|
2883
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
2884
|
+
--------------------------------------------------------------------------------
|
2885
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2886
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2887
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2888
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2889
|
+
--------------------------------------
|
2890
|
+
ActiveRecord::ResourceTest: test_truth
|
2891
|
+
--------------------------------------
|
2892
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2893
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2894
|
+
-------------------------------------------------------------------------------------
|
2895
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
2896
|
+
-------------------------------------------------------------------------------------
|
2897
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2898
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "invalid"], ["created_at", "2016-02-24 22:27:28.241283"], ["updated_at", "2016-02-24 22:27:28.241283"]]
|
2899
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2900
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2901
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2902
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2903
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2904
|
+
----------------------------------------------------------------------
|
2905
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
2906
|
+
----------------------------------------------------------------------
|
2907
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2908
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "valid"], ["created_at", "2016-02-24 22:27:28.244239"], ["updated_at", "2016-02-24 22:27:28.244239"]]
|
2909
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2910
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2911
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "deletables" WHERE "deletables"."id" = ?[0m [["id", 1]]
|
2912
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2913
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2914
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2915
|
+
---------------------------------------------------------------------
|
2916
|
+
UpdatableTest: test_it_calls_the_resource_update_callback_when_update
|
2917
|
+
---------------------------------------------------------------------
|
2918
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2919
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "updatables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", ""], ["created_at", "2016-02-24 22:27:28.251967"], ["updated_at", "2016-02-24 22:27:28.251967"]]
|
2920
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2921
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2922
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "updatables" SET "number" = ?, "updated_at" = ? WHERE "updatables"."id" = ?[0m [["number", "a"], ["updated_at", "2016-02-24 22:27:28.253510"], ["id", 1]]
|
2923
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2924
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2925
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2926
|
+
-------------------------------------------------------------------------------------
|
2927
|
+
UpdatableTest: test_it_calls_the_resource_update_validations_callback_before_deleting
|
2928
|
+
-------------------------------------------------------------------------------------
|
2929
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2930
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "updatables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", ""], ["created_at", "2016-02-24 22:27:28.269339"], ["updated_at", "2016-02-24 22:27:28.269339"]]
|
2931
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2932
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2933
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2934
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2935
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2936
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2937
|
+
--------------------------------------
|
2938
|
+
ActiveRecord::ResourceTest: test_truth
|
2939
|
+
--------------------------------------
|
2940
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2941
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2942
|
+
--------------------------------------------------------------------
|
2943
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
2944
|
+
--------------------------------------------------------------------
|
2945
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2946
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "a"], ["created_at", "2016-02-24 22:29:43.388610"], ["updated_at", "2016-02-24 22:29:43.388610"]]
|
2947
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2948
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2949
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2950
|
+
--------------------------------------------------------------------------------
|
2951
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
2952
|
+
--------------------------------------------------------------------------------
|
2953
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2954
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2955
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2956
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2957
|
+
----------------------------------------------------------------------
|
2958
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
2959
|
+
----------------------------------------------------------------------
|
2960
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2961
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "valid"], ["created_at", "2016-02-24 22:29:43.399090"], ["updated_at", "2016-02-24 22:29:43.399090"]]
|
2962
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2963
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2964
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "deletables" WHERE "deletables"."id" = ? [["id", 1]]
|
2965
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2966
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2967
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2968
|
+
-------------------------------------------------------------------------------------
|
2969
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
2970
|
+
-------------------------------------------------------------------------------------
|
2971
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2972
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "invalid"], ["created_at", "2016-02-24 22:29:43.402645"], ["updated_at", "2016-02-24 22:29:43.402645"]]
|
2973
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2974
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2975
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2976
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2977
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2978
|
+
---------------------------------------------------------------------
|
2979
|
+
UpdatableTest: test_it_calls_the_resource_update_callback_when_update
|
2980
|
+
---------------------------------------------------------------------
|
2981
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2982
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "updatables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", ""], ["created_at", "2016-02-24 22:29:43.409091"], ["updated_at", "2016-02-24 22:29:43.409091"]]
|
2983
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2984
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2985
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "updatables" SET "number" = ?, "updated_at" = ? WHERE "updatables"."id" = ?[0m [["number", "a"], ["updated_at", "2016-02-24 22:29:43.410672"], ["id", 1]]
|
2986
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2987
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
2988
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2989
|
+
-------------------------------------------------------------------------------------
|
2990
|
+
UpdatableTest: test_it_calls_the_resource_update_validations_callback_before_deleting
|
2991
|
+
-------------------------------------------------------------------------------------
|
2992
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2993
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "updatables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", ""], ["created_at", "2016-02-24 22:29:43.428047"], ["updated_at", "2016-02-24 22:29:43.428047"]]
|
2994
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2995
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2996
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2997
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2998
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2999
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3000
|
+
---------------------------------------------------------------------
|
3001
|
+
UpdatableTest: test_it_calls_the_resource_update_callback_when_update
|
3002
|
+
---------------------------------------------------------------------
|
3003
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3004
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "updatables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", ""], ["created_at", "2016-02-24 22:30:45.106901"], ["updated_at", "2016-02-24 22:30:45.106901"]]
|
3005
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3006
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3007
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "updatables" SET "number" = ?, "updated_at" = ? WHERE "updatables"."id" = ?[0m [["number", "a"], ["updated_at", "2016-02-24 22:30:45.110665"], ["id", 1]]
|
3008
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3009
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
3010
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3011
|
+
-------------------------------------------------------------------------------------
|
3012
|
+
UpdatableTest: test_it_calls_the_resource_update_validations_callback_before_deleting
|
3013
|
+
-------------------------------------------------------------------------------------
|
3014
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3015
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "updatables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", ""], ["created_at", "2016-02-24 22:30:45.115906"], ["updated_at", "2016-02-24 22:30:45.115906"]]
|
3016
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3017
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3018
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
3019
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
3020
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3021
|
+
--------------------------------------
|
3022
|
+
ActiveRecord::ResourceTest: test_truth
|
3023
|
+
--------------------------------------
|
3024
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3025
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3026
|
+
--------------------------------------------------------------------
|
3027
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
3028
|
+
--------------------------------------------------------------------
|
3029
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3030
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "a"], ["created_at", "2016-02-24 22:30:45.126553"], ["updated_at", "2016-02-24 22:30:45.126553"]]
|
3031
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3032
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
3033
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3034
|
+
--------------------------------------------------------------------------------
|
3035
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
3036
|
+
--------------------------------------------------------------------------------
|
3037
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3038
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
3039
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3040
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3041
|
+
----------------------------------------------------------------------
|
3042
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
3043
|
+
----------------------------------------------------------------------
|
3044
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3045
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "valid"], ["created_at", "2016-02-24 22:30:45.135442"], ["updated_at", "2016-02-24 22:30:45.135442"]]
|
3046
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3047
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3048
|
+
[1m[36mSQL (0.5ms)[0m [1mDELETE FROM "deletables" WHERE "deletables"."id" = ?[0m [["id", 1]]
|
3049
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3050
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
3051
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3052
|
+
-------------------------------------------------------------------------------------
|
3053
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
3054
|
+
-------------------------------------------------------------------------------------
|
3055
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3056
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "invalid"], ["created_at", "2016-02-24 22:30:45.152698"], ["updated_at", "2016-02-24 22:30:45.152698"]]
|
3057
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3058
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3059
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
3060
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
3061
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3062
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3063
|
+
--------------------------------------
|
3064
|
+
ActiveRecord::ResourceTest: test_truth
|
3065
|
+
--------------------------------------
|
3066
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3067
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3068
|
+
----------------------------------------------------------------------
|
3069
|
+
DeletableTest: test_it_calls_the_delete_resource_callback_when_deleted
|
3070
|
+
----------------------------------------------------------------------
|
3071
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3072
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "valid"], ["created_at", "2016-02-26 08:40:47.461264"], ["updated_at", "2016-02-26 08:40:47.461264"]]
|
3073
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3074
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3075
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "deletables" WHERE "deletables"."id" = ?[0m [["id", 1]]
|
3076
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3077
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
3078
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3079
|
+
-------------------------------------------------------------------------------------
|
3080
|
+
DeletableTest: test_it_calls_the_delete_resource_validations_callback_before_deleting
|
3081
|
+
-------------------------------------------------------------------------------------
|
3082
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3083
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "deletables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", "invalid"], ["created_at", "2016-02-26 08:40:47.469623"], ["updated_at", "2016-02-26 08:40:47.469623"]]
|
3084
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3085
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3086
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
3087
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
3088
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3089
|
+
--------------------------------------------------------------------
|
3090
|
+
AccountTest: test_it_calls_the_create_resource_callback_when_created
|
3091
|
+
--------------------------------------------------------------------
|
3092
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3093
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("number", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["number", "a"], ["created_at", "2016-02-26 08:40:47.477936"], ["updated_at", "2016-02-26 08:40:47.477936"]]
|
3094
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3095
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
3096
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3097
|
+
--------------------------------------------------------------------------------
|
3098
|
+
AccountTest: test_it_calls_the_create_resource_validations_callback_when_created
|
3099
|
+
--------------------------------------------------------------------------------
|
3100
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3101
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
3102
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3103
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3104
|
+
---------------------------------------------------------------------
|
3105
|
+
UpdatableTest: test_it_calls_the_resource_update_callback_when_update
|
3106
|
+
---------------------------------------------------------------------
|
3107
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3108
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "updatables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", ""], ["created_at", "2016-02-26 08:40:47.487627"], ["updated_at", "2016-02-26 08:40:47.487627"]]
|
3109
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3110
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3111
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "updatables" SET "number" = ?, "updated_at" = ? WHERE "updatables"."id" = ?[0m [["number", "a"], ["updated_at", "2016-02-26 08:40:47.489012"], ["id", 1]]
|
3112
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3113
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
3114
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3115
|
+
-------------------------------------------------------------------------------------
|
3116
|
+
UpdatableTest: test_it_calls_the_resource_update_validations_callback_before_deleting
|
3117
|
+
-------------------------------------------------------------------------------------
|
3118
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3119
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "updatables" ("number", "created_at", "updated_at") VALUES (?, ?, ?) [["number", ""], ["created_at", "2016-02-26 08:40:47.503654"], ["updated_at", "2016-02-26 08:40:47.503654"]]
|
3120
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3121
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3122
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
3123
|
+
[1m[35m (0.2ms)[0m rollback transaction
|