forest_liana 1.0.0.pre.beta.4 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/controllers/forest_liana/apimaps_controller.rb +5 -7
- data/app/controllers/forest_liana/resources_controller.rb +4 -16
- data/app/deserializers/forest_liana/resource_deserializer.rb +4 -4
- data/app/serializers/forest_liana/serializer_factory.rb +26 -15
- data/app/services/forest_liana/resources_getter.rb +2 -3
- data/app/services/forest_liana/schema_adapter.rb +29 -13
- data/app/services/forest_liana/schema_utils.rb +28 -0
- data/app/services/forest_liana/search_query_builder.rb +1 -2
- data/config/routes.rb +6 -6
- data/lib/forest_liana/engine.rb +11 -4
- data/lib/forest_liana/version.rb +1 -1
- data/test/dummy/app/models/belongs_to_field.rb +2 -0
- data/test/dummy/app/models/has_one_field.rb +1 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +1062 -195
- data/test/services/forest_liana/schema_adapter_test.rb +12 -10
- metadata +5 -8
- data/config/initializers/rails32_http_patch_support_initializer.rb +0 -1
- data/lib/patches/add_patch_method.rb +0 -124
- data/test/dummy/db/development.sqlite3 +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bac2a8d2469d7e43daf49969894fb03486946b7d
|
4
|
+
data.tar.gz: 902f9e5508398387ddf4678135bad2159376610b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74cd9e92c44b1169602fbbd153262f143143bc4f55cddf9f1be7c2f2792b1e6c0deb76f72ed7e274c7c26f4dd98eb43c423b1d53cef64cc9d12786dd222b64ca
|
7
|
+
data.tar.gz: 76701cb01b9b42d836e3b40b04d9c4877e5a810e01d61f83bbc214651ca71a8c460e66787e4a4c71f53330c711483d25dd854957728e528a85980027470f7666
|
@@ -5,16 +5,14 @@ module ForestLiana
|
|
5
5
|
def index
|
6
6
|
result = []
|
7
7
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
result << SchemaAdapter.new(model).perform
|
12
|
-
rescue => error
|
13
|
-
puts error.inspect
|
14
|
-
end
|
8
|
+
SchemaUtils.tables_names.map do |table_name|
|
9
|
+
model = SchemaUtils.find_model_from_table_name(table_name)
|
10
|
+
result << SchemaAdapter.new(model).perform if model.try(:table_exists?)
|
15
11
|
end
|
16
12
|
|
17
13
|
render json: serialize_models(result, serializer: ApimapSerializer)
|
18
14
|
end
|
15
|
+
|
16
|
+
|
19
17
|
end
|
20
18
|
end
|
@@ -2,7 +2,6 @@ module ForestLiana
|
|
2
2
|
class ResourcesController < ForestLiana::ApplicationController
|
3
3
|
|
4
4
|
before_filter :find_resource
|
5
|
-
before_filter :define_serializers
|
6
5
|
|
7
6
|
def index
|
8
7
|
getter = ResourcesGetter.new(@resource, params)
|
@@ -22,13 +21,13 @@ module ForestLiana
|
|
22
21
|
end
|
23
22
|
|
24
23
|
def create
|
25
|
-
record = @resource.create!(resource_params)
|
24
|
+
record = @resource.create!(resource_params, without_protection: true)
|
26
25
|
render json: serialize_model(record, include: includes)
|
27
26
|
end
|
28
27
|
|
29
28
|
def update
|
30
29
|
record = @resource.find(params[:id])
|
31
|
-
record.update_attributes!(resource_params)
|
30
|
+
record.update_attributes!(resource_params, without_protection: true)
|
32
31
|
|
33
32
|
render json: serialize_model(record, include: includes)
|
34
33
|
end
|
@@ -41,26 +40,15 @@ module ForestLiana
|
|
41
40
|
private
|
42
41
|
|
43
42
|
def find_resource
|
44
|
-
@
|
45
|
-
@resource_singular_name = @resource_plural_name.singularize
|
46
|
-
@resource_class_name = @resource_singular_name.classify
|
47
|
-
|
48
|
-
begin
|
49
|
-
@resource = @resource_class_name.constantize
|
50
|
-
rescue
|
51
|
-
end
|
43
|
+
@resource = SchemaUtils.find_model_from_table_name(params[:collection])
|
52
44
|
|
53
45
|
if @resource.nil? || !@resource.ancestors.include?(ActiveRecord::Base)
|
54
46
|
render json: {status: 404}, status: :not_found
|
55
47
|
end
|
56
48
|
end
|
57
49
|
|
58
|
-
def define_serializers
|
59
|
-
@serializer = SerializerFactory.new.serializer_for(@resource)
|
60
|
-
end
|
61
|
-
|
62
50
|
def resource_params
|
63
|
-
ResourceDeserializer.new(@resource, params).perform
|
51
|
+
ResourceDeserializer.new(@resource, params[:resource]).perform
|
64
52
|
end
|
65
53
|
|
66
54
|
def includes
|
@@ -14,13 +14,13 @@ module ForestLiana
|
|
14
14
|
end
|
15
15
|
|
16
16
|
def extract_attributes
|
17
|
-
@params
|
17
|
+
@params['data']['attributes']
|
18
18
|
end
|
19
19
|
|
20
20
|
def extract_relationships
|
21
|
-
if @params[
|
22
|
-
@params[
|
23
|
-
data = relationship[
|
21
|
+
if @params['data']['relationships']
|
22
|
+
@params['data']['relationships'].each do |name, relationship|
|
23
|
+
data = relationship['data']
|
24
24
|
|
25
25
|
if column?(name.foreign_key)
|
26
26
|
if data.is_a?(Hash)
|
@@ -2,6 +2,27 @@ require 'jsonapi-serializers'
|
|
2
2
|
|
3
3
|
module ForestLiana
|
4
4
|
class SerializerFactory
|
5
|
+
|
6
|
+
def self.define_serializer(active_record_class, serializer)
|
7
|
+
class_name = active_record_class.table_name.classify
|
8
|
+
module_name = class_name.deconstantize
|
9
|
+
|
10
|
+
name = module_name if module_name
|
11
|
+
name += class_name.demodulize
|
12
|
+
|
13
|
+
ForestLiana.const_set("#{name}Serializer", serializer)
|
14
|
+
end
|
15
|
+
|
16
|
+
def self.get_serializer_name(active_record_class)
|
17
|
+
class_name = active_record_class.table_name.classify
|
18
|
+
module_name = class_name.deconstantize
|
19
|
+
|
20
|
+
name = module_name if module_name
|
21
|
+
name += class_name.demodulize
|
22
|
+
|
23
|
+
"ForestLiana::#{name}Serializer"
|
24
|
+
end
|
25
|
+
|
5
26
|
def serializer_for(active_record_class)
|
6
27
|
serializer = Class.new {
|
7
28
|
include JSONAPI::Serializer
|
@@ -40,13 +61,12 @@ module ForestLiana
|
|
40
61
|
serializer.attribute(attr)
|
41
62
|
end
|
42
63
|
|
43
|
-
associations(active_record_class).each do |
|
44
|
-
|
45
|
-
next if association.options[:polymorphic]
|
46
|
-
serializer.send(serializer_association(association), association.name)
|
64
|
+
SchemaUtils.associations(active_record_class).each do |a|
|
65
|
+
serializer.send(serializer_association(a), a.name)
|
47
66
|
end
|
48
67
|
|
49
|
-
|
68
|
+
SerializerFactory.define_serializer(active_record_class, serializer)
|
69
|
+
|
50
70
|
serializer
|
51
71
|
end
|
52
72
|
|
@@ -71,21 +91,12 @@ module ForestLiana
|
|
71
91
|
end
|
72
92
|
end
|
73
93
|
|
74
|
-
def associations(active_record_class)
|
75
|
-
active_record_class.reflect_on_all_associations
|
76
|
-
end
|
77
|
-
|
78
94
|
def association?(active_record_class, column_name)
|
79
95
|
foreign_keys(active_record_class).include?(column_name)
|
80
96
|
end
|
81
97
|
|
82
98
|
def foreign_keys(active_record_class)
|
83
|
-
associations(active_record_class).map
|
84
|
-
if association.foreign_key.blank?
|
85
|
-
byebug
|
86
|
-
end
|
87
|
-
association.foreign_key
|
88
|
-
end
|
99
|
+
SchemaUtils.associations(active_record_class).map(&:foreign_key)
|
89
100
|
end
|
90
101
|
|
91
102
|
end
|
@@ -1,6 +1,5 @@
|
|
1
1
|
module ForestLiana
|
2
2
|
class SchemaAdapter
|
3
|
-
|
4
3
|
def initialize(model)
|
5
4
|
@model = model
|
6
5
|
end
|
@@ -22,19 +21,36 @@ module ForestLiana
|
|
22
21
|
end
|
23
22
|
|
24
23
|
def add_associations
|
25
|
-
@model.
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
24
|
+
SchemaUtils.associations(@model).each do |association|
|
25
|
+
begin
|
26
|
+
if schema = column_association(@collection, association)
|
27
|
+
schema[:reference] = get_ref_for(association)
|
28
|
+
schema[:field] = deforeign_key(schema[:field])
|
29
|
+
schema[:inverseOf] = inverse_of(association)
|
30
|
+
else
|
31
|
+
@collection.fields << get_schema_for_association(association)
|
32
|
+
end
|
33
|
+
rescue => error
|
34
|
+
puts error.inspect
|
34
35
|
end
|
35
36
|
end
|
36
37
|
end
|
37
38
|
|
39
|
+
def inverse_of(association)
|
40
|
+
association.inverse_of.try(:name).try(:to_s) ||
|
41
|
+
automatic_inverse_of(association)
|
42
|
+
end
|
43
|
+
|
44
|
+
def automatic_inverse_of(association)
|
45
|
+
name = association.active_record.name.demodulize.underscore
|
46
|
+
|
47
|
+
inverse_association = association.klass.reflections.keys.find do |k|
|
48
|
+
k.to_s == name || k.to_s == name.pluralize
|
49
|
+
end
|
50
|
+
|
51
|
+
inverse_association.try(:to_s)
|
52
|
+
end
|
53
|
+
|
38
54
|
def get_schema_for_column(column)
|
39
55
|
{ field: column.name, type: get_type_for(column) }
|
40
56
|
end
|
@@ -43,8 +59,8 @@ module ForestLiana
|
|
43
59
|
{
|
44
60
|
field: association.name.to_s,
|
45
61
|
type: get_type_for_association(association),
|
46
|
-
reference: "#{association.
|
47
|
-
inverseOf:
|
62
|
+
reference: "#{association.klass.table_name.underscore}.id",
|
63
|
+
inverseOf: inverse_of(association)
|
48
64
|
}
|
49
65
|
end
|
50
66
|
|
@@ -73,7 +89,7 @@ module ForestLiana
|
|
73
89
|
if association.options[:polymorphic] == true
|
74
90
|
'*.id'
|
75
91
|
else
|
76
|
-
"#{association.
|
92
|
+
"#{association.klass.table_name.underscore}.id"
|
77
93
|
end
|
78
94
|
end
|
79
95
|
|
@@ -0,0 +1,28 @@
|
|
1
|
+
module ForestLiana
|
2
|
+
class SchemaUtils
|
3
|
+
|
4
|
+
def self.associations(active_record_class)
|
5
|
+
active_record_class
|
6
|
+
.reflect_on_all_associations
|
7
|
+
.select {|a| !polymorphic?(a)}
|
8
|
+
end
|
9
|
+
|
10
|
+
def self.find_model_from_table_name(table_name)
|
11
|
+
(table_name.classify.constantize rescue nil) ||
|
12
|
+
(table_name.capitalize.constantize rescue nil) ||
|
13
|
+
(table_name.sub('_', '/').camelize.singularize.constantize rescue nil)
|
14
|
+
end
|
15
|
+
|
16
|
+
def self.tables_names
|
17
|
+
ActiveRecord::Base.connection.tables
|
18
|
+
end
|
19
|
+
|
20
|
+
private
|
21
|
+
|
22
|
+
def self.polymorphic?(association)
|
23
|
+
association.options[:polymorphic]
|
24
|
+
end
|
25
|
+
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
@@ -52,8 +52,7 @@ module ForestLiana
|
|
52
52
|
end
|
53
53
|
|
54
54
|
def associations_param
|
55
|
-
associations = @resource.reflect_on_all_associations
|
56
|
-
.select {|x| x.macro == :belongs_to}
|
55
|
+
associations = @resource.reflect_on_all_associations(:belongs_to)
|
57
56
|
|
58
57
|
associations.each do |association|
|
59
58
|
name = association.name.to_s
|
data/config/routes.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
ForestLiana::Engine.routes.draw do
|
2
2
|
get '/' => 'apimaps#index'
|
3
|
-
get ':
|
4
|
-
get ':
|
5
|
-
get ':
|
6
|
-
post ':
|
7
|
-
|
8
|
-
delete ':
|
3
|
+
get ':collection' => 'resources#index'
|
4
|
+
get ':collection/:id' => 'resources#show'
|
5
|
+
get ':collection/:id' => 'resources#show'
|
6
|
+
post ':collection' => 'resources#create'
|
7
|
+
put ':collection/:id' => 'resources#update'
|
8
|
+
delete ':collection/:id' => 'resources#destroy'
|
9
9
|
end
|
data/lib/forest_liana/engine.rb
CHANGED
@@ -12,10 +12,17 @@ module ForestLiana
|
|
12
12
|
end
|
13
13
|
|
14
14
|
config.after_initialize do
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
15
|
+
SchemaUtils.tables_names.map do |table_name|
|
16
|
+
model = SchemaUtils.find_model_from_table_name(table_name)
|
17
|
+
SerializerFactory.new.serializer_for(model) if \
|
18
|
+
model.try(:table_exists?)
|
19
|
+
end
|
20
|
+
|
21
|
+
# Monkey patch the find_serializer_class_name method to specify the good
|
22
|
+
# serializer to use.
|
23
|
+
JSONAPI::Serializer.class_eval do
|
24
|
+
def self.find_serializer_class_name(obj)
|
25
|
+
SerializerFactory.get_serializer_name(obj.class)
|
19
26
|
end
|
20
27
|
end
|
21
28
|
end
|
data/lib/forest_liana/version.rb
CHANGED
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/test/dummy/log/test.log
CHANGED
@@ -1,63 +1,122 @@
|
|
1
|
-
[1m[
|
1
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "belongs_to_class_name_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "foo_id" integer) [0m
|
2
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
3
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_belongs_to_class_name_fields_on_foo_id" ON "belongs_to_class_name_fields" ("foo_id")[0m
|
4
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "belongs_to_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "has_one_field_id" integer)
|
5
|
+
[1m[36m (0.7ms)[0m [1mCREATE INDEX "index_belongs_to_fields_on_has_one_field_id" ON "belongs_to_fields" ("has_one_field_id")[0m
|
6
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "boolean_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "field" boolean)
|
7
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "date_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "field" date) [0m
|
8
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "decimal_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "field" decimal)
|
9
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "float_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "field" float) [0m
|
10
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "has_and_belongs_to_many_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)
|
11
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "has_many_class_name_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL) [0m
|
12
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "has_many_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)
|
13
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "has_one_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL) [0m
|
14
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "integer_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "field" integer)
|
15
|
+
[1m[36m (0.6ms)[0m [1mCREATE TABLE "polymorphic_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "has_one_field_id" integer) [0m
|
16
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_polymorphic_fields_on_has_one_field_id" ON "polymorphic_fields" ("has_one_field_id")
|
17
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "string_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "field" varchar) [0m
|
18
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
19
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
20
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
21
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150623115554')[0m
|
22
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150608130516')
|
23
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150608131430')[0m
|
24
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150608131603')
|
25
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150608131610')[0m
|
26
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150608132159')
|
27
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150608132621')[0m
|
28
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150608133038')
|
29
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150608133044')[0m
|
30
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150608150016')
|
31
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150609114636')[0m
|
32
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150612112520')
|
33
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150616150629')[0m
|
34
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2
35
|
[1m[35m (0.1ms)[0m begin transaction
|
3
|
-
|
4
|
-
|
5
|
-
|
36
|
+
---------------------------
|
37
|
+
ForestLianaTest: test_truth
|
38
|
+
---------------------------
|
6
39
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
7
40
|
[1m[35m (0.0ms)[0m begin transaction
|
41
|
+
-----------------------------------------------------------
|
42
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
43
|
+
-----------------------------------------------------------
|
44
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
45
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46
|
+
-------------------------------------------------------------------------
|
47
|
+
ForestLiana::SchemaAdapterTest: test_DateTime_should_have_the_type_`Date`
|
48
|
+
-------------------------------------------------------------------------
|
49
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
50
|
+
[1m[35m (0.1ms)[0m begin transaction
|
51
|
+
---------------------------------------------------------------------
|
52
|
+
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
53
|
+
---------------------------------------------------------------------
|
54
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
55
|
+
[1m[35m (0.1ms)[0m begin transaction
|
56
|
+
-------------------------------------------------------------------------
|
57
|
+
ForestLiana::SchemaAdapterTest: test_String_should_have_the_type_`String`
|
58
|
+
-------------------------------------------------------------------------
|
59
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
60
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8
61
|
----------------------------------------------------------------------------------
|
9
|
-
ForestLiana::
|
62
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
10
63
|
----------------------------------------------------------------------------------
|
11
64
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12
|
-
[1m[35m (0.0ms)[0m begin transaction
|
13
|
-
------------------------------------------------------------------------------------------------
|
14
|
-
ForestLiana::SerializerFactoryTest: test_has_and_belongs_to_many_should_be_serialize_to_has_many
|
15
|
-
------------------------------------------------------------------------------------------------
|
16
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
17
65
|
[1m[35m (0.1ms)[0m begin transaction
|
18
|
-
|
19
|
-
ForestLiana::
|
20
|
-
|
21
|
-
[1m[36m (0.
|
22
|
-
[1m[35m (0.
|
23
|
-
|
24
|
-
ForestLiana::
|
25
|
-
|
66
|
+
---------------------------------------------------------
|
67
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
68
|
+
---------------------------------------------------------
|
69
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
70
|
+
[1m[35m (0.1ms)[0m begin transaction
|
71
|
+
--------------------------------------------------------
|
72
|
+
ForestLiana::SchemaAdapterTest: test_hasOne_relationship
|
73
|
+
--------------------------------------------------------
|
74
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
75
|
+
[1m[35m (0.1ms)[0m begin transaction
|
76
|
+
------------------------------------------------------------------------
|
77
|
+
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
78
|
+
------------------------------------------------------------------------
|
79
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
80
|
+
[1m[35m (0.1ms)[0m begin transaction
|
81
|
+
--------------------------------------------------------------------------
|
82
|
+
ForestLiana::SchemaAdapterTest: test_Decimal_should_have_the_type_`Number`
|
83
|
+
--------------------------------------------------------------------------
|
26
84
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
27
85
|
[1m[35m (0.0ms)[0m begin transaction
|
28
|
-
|
29
|
-
ForestLiana::
|
30
|
-
|
86
|
+
--------------------------------------------------------------------------
|
87
|
+
ForestLiana::SchemaAdapterTest: test_Integer_should_have_the_type_`Number`
|
88
|
+
--------------------------------------------------------------------------
|
31
89
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
32
90
|
[1m[35m (0.0ms)[0m begin transaction
|
33
|
-
|
34
|
-
ForestLiana::
|
35
|
-
|
91
|
+
------------------------------------------------------------------------------------
|
92
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
93
|
+
------------------------------------------------------------------------------------
|
94
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
95
|
+
[1m[35m (0.1ms)[0m begin transaction
|
96
|
+
---------------------------------------------------------------------------
|
97
|
+
ForestLiana::SchemaAdapterTest: test_Boolean_should_have_the_type_`Boolean`
|
98
|
+
---------------------------------------------------------------------------
|
36
99
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
100
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
37
101
|
[1m[35m (0.1ms)[0m begin transaction
|
38
102
|
---------------------------
|
39
103
|
ForestLianaTest: test_truth
|
40
104
|
---------------------------
|
41
105
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42
106
|
[1m[35m (0.0ms)[0m begin transaction
|
43
|
-
|
44
|
-
ForestLiana::SchemaAdapterTest:
|
45
|
-
|
107
|
+
---------------------------------------------------------
|
108
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
109
|
+
---------------------------------------------------------
|
46
110
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
47
111
|
[1m[35m (0.1ms)[0m begin transaction
|
112
|
+
------------------------------------------------------------------------
|
113
|
+
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
114
|
+
------------------------------------------------------------------------
|
115
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
116
|
+
[1m[35m (0.0ms)[0m begin transaction
|
48
117
|
---------------------------------------------------------------------------
|
49
118
|
ForestLiana::SchemaAdapterTest: test_Boolean_should_have_the_type_`Boolean`
|
50
119
|
---------------------------------------------------------------------------
|
51
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
52
|
-
[1m[35m (0.1ms)[0m begin transaction
|
53
|
-
--------------------------------------------------------------------------
|
54
|
-
ForestLiana::SchemaAdapterTest: test_Decimal_should_have_the_type_`Number`
|
55
|
-
--------------------------------------------------------------------------
|
56
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
57
|
-
[1m[35m (0.0ms)[0m begin transaction
|
58
|
-
---------------------------------------------------------
|
59
|
-
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
60
|
-
---------------------------------------------------------
|
61
120
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
62
121
|
[1m[35m (0.0ms)[0m begin transaction
|
63
122
|
-------------------------------------------------------------------------
|
@@ -65,16 +124,11 @@ ForestLiana::SchemaAdapterTest: test_String_should_have_the_type_`String`
|
|
65
124
|
-------------------------------------------------------------------------
|
66
125
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
67
126
|
[1m[35m (0.0ms)[0m begin transaction
|
68
|
-
|
69
|
-
ForestLiana::SchemaAdapterTest:
|
70
|
-
|
71
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
72
|
-
[1m[35m (0.0ms)[0m begin transaction
|
73
|
-
------------------------------------------------------------------------
|
74
|
-
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
75
|
-
------------------------------------------------------------------------
|
127
|
+
----------------------------------------------------------------------------------
|
128
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
129
|
+
----------------------------------------------------------------------------------
|
76
130
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
77
|
-
[1m[35m (0.
|
131
|
+
[1m[35m (0.0ms)[0m begin transaction
|
78
132
|
-------------------------------------------------------------------------
|
79
133
|
ForestLiana::SchemaAdapterTest: test_DateTime_should_have_the_type_`Date`
|
80
134
|
-------------------------------------------------------------------------
|
@@ -85,11 +139,6 @@ ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
|
85
139
|
---------------------------------------------------------------------
|
86
140
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
87
141
|
[1m[35m (0.0ms)[0m begin transaction
|
88
|
-
--------------------------------------------------------
|
89
|
-
ForestLiana::SchemaAdapterTest: test_hasOne_relationship
|
90
|
-
--------------------------------------------------------
|
91
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
92
|
-
[1m[35m (0.0ms)[0m begin transaction
|
93
142
|
-----------------------------------------------------------
|
94
143
|
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
95
144
|
-----------------------------------------------------------
|
@@ -97,84 +146,89 @@ ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
|
97
146
|
[1m[35m (0.0ms)[0m begin transaction
|
98
147
|
--------------------------------------------------------------------------
|
99
148
|
ForestLiana::SchemaAdapterTest: test_Integer_should_have_the_type_`Number`
|
149
|
+
--------------------------------------------------------------------------
|
150
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
151
|
+
[1m[35m (0.0ms)[0m begin transaction
|
152
|
+
------------------------------------------------------------------------------------
|
153
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
154
|
+
------------------------------------------------------------------------------------
|
155
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
156
|
+
[1m[35m (0.0ms)[0m begin transaction
|
157
|
+
--------------------------------------------------------
|
158
|
+
ForestLiana::SchemaAdapterTest: test_hasOne_relationship
|
159
|
+
--------------------------------------------------------
|
160
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
161
|
+
[1m[35m (0.0ms)[0m begin transaction
|
162
|
+
--------------------------------------------------------------------------
|
163
|
+
ForestLiana::SchemaAdapterTest: test_Decimal_should_have_the_type_`Number`
|
100
164
|
--------------------------------------------------------------------------
|
101
165
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
102
166
|
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
103
167
|
[1m[35m (0.1ms)[0m begin transaction
|
168
|
+
---------------------------
|
169
|
+
ForestLianaTest: test_truth
|
170
|
+
---------------------------
|
171
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
172
|
+
[1m[35m (0.0ms)[0m begin transaction
|
104
173
|
--------------------------------------------------------------------------
|
105
174
|
ForestLiana::SchemaAdapterTest: test_Decimal_should_have_the_type_`Number`
|
106
175
|
--------------------------------------------------------------------------
|
107
176
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
108
|
-
[1m[35m (0.
|
177
|
+
[1m[35m (0.0ms)[0m begin transaction
|
109
178
|
-------------------------------------------------------------------------
|
110
|
-
ForestLiana::SchemaAdapterTest:
|
179
|
+
ForestLiana::SchemaAdapterTest: test_DateTime_should_have_the_type_`Date`
|
111
180
|
-------------------------------------------------------------------------
|
112
181
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
113
182
|
[1m[35m (0.1ms)[0m begin transaction
|
114
183
|
--------------------------------------------------------------------------
|
115
184
|
ForestLiana::SchemaAdapterTest: test_Integer_should_have_the_type_`Number`
|
116
185
|
--------------------------------------------------------------------------
|
117
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
118
|
-
[1m[35m (0.0ms)[0m begin transaction
|
119
|
-
----------------------------------------------------------------------------------
|
120
|
-
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
121
|
-
----------------------------------------------------------------------------------
|
122
186
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
123
187
|
[1m[35m (0.1ms)[0m begin transaction
|
124
|
-
|
125
|
-
ForestLiana::SchemaAdapterTest:
|
126
|
-
|
127
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
128
|
-
[1m[35m (0.0ms)[0m begin transaction
|
129
|
-
---------------------------------------------------------------------
|
130
|
-
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
131
|
-
---------------------------------------------------------------------
|
188
|
+
-------------------------------------------------------------------------
|
189
|
+
ForestLiana::SchemaAdapterTest: test_String_should_have_the_type_`String`
|
190
|
+
-------------------------------------------------------------------------
|
132
191
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
133
192
|
[1m[35m (0.0ms)[0m begin transaction
|
134
193
|
---------------------------------------------------------------------------
|
135
194
|
ForestLiana::SchemaAdapterTest: test_Boolean_should_have_the_type_`Boolean`
|
136
195
|
---------------------------------------------------------------------------
|
137
|
-
[1m[36m (0.
|
138
|
-
[1m[35m (0.
|
196
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
197
|
+
[1m[35m (0.1ms)[0m begin transaction
|
139
198
|
--------------------------------------------------------
|
140
199
|
ForestLiana::SchemaAdapterTest: test_hasOne_relationship
|
141
200
|
--------------------------------------------------------
|
142
201
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
143
202
|
[1m[35m (0.1ms)[0m begin transaction
|
144
|
-
|
145
|
-
ForestLiana::SchemaAdapterTest:
|
146
|
-
|
203
|
+
-----------------------------------------------------------
|
204
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
205
|
+
-----------------------------------------------------------
|
147
206
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
148
|
-
[1m[35m (0.0ms)[0m begin transaction
|
149
|
-
------------------------------------------------------------------------------------
|
150
|
-
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
151
|
-
------------------------------------------------------------------------------------
|
152
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
153
207
|
[1m[35m (0.1ms)[0m begin transaction
|
154
|
-
---------------------------------------------------------
|
155
|
-
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
156
|
-
---------------------------------------------------------
|
157
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
158
|
-
[1m[35m (0.0ms)[0m begin transaction
|
159
208
|
------------------------------------------------------------------------
|
160
209
|
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
161
210
|
------------------------------------------------------------------------
|
162
211
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
163
|
-
[1m[35m (0.
|
164
|
-
|
165
|
-
ForestLiana::
|
166
|
-
|
212
|
+
[1m[35m (0.1ms)[0m begin transaction
|
213
|
+
----------------------------------------------------------------------------------
|
214
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
215
|
+
----------------------------------------------------------------------------------
|
167
216
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
168
217
|
[1m[35m (0.1ms)[0m begin transaction
|
169
|
-
|
170
|
-
ForestLiana::
|
171
|
-
|
218
|
+
------------------------------------------------------------------------------------
|
219
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
220
|
+
------------------------------------------------------------------------------------
|
221
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
222
|
+
[1m[35m (0.1ms)[0m begin transaction
|
223
|
+
---------------------------------------------------------------------
|
224
|
+
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
225
|
+
---------------------------------------------------------------------
|
172
226
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
173
227
|
[1m[35m (0.0ms)[0m begin transaction
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
[1m[36m (0.
|
228
|
+
---------------------------------------------------------
|
229
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
230
|
+
---------------------------------------------------------
|
231
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
178
232
|
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
179
233
|
[1m[35m (0.1ms)[0m begin transaction
|
180
234
|
---------------------------
|
@@ -182,84 +236,48 @@ ForestLianaTest: test_truth
|
|
182
236
|
---------------------------
|
183
237
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
184
238
|
[1m[35m (0.0ms)[0m begin transaction
|
185
|
-
|
186
|
-
ForestLiana::
|
187
|
-
|
188
|
-
[1m[36m (0.
|
189
|
-
[1m[35m (0.1ms)[0m begin transaction
|
190
|
-
----------------------------------------------------------------------------------------
|
191
|
-
ForestLiana::ResourceDeserializerTest: test_JSONAPI_payload_should_support_relationships
|
192
|
-
----------------------------------------------------------------------------------------
|
193
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
239
|
+
------------------------------------------------------------------------
|
240
|
+
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
241
|
+
------------------------------------------------------------------------
|
242
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
194
243
|
[1m[35m (0.0ms)[0m begin transaction
|
195
244
|
------------------------------------------------------------------------------------
|
196
245
|
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
197
246
|
------------------------------------------------------------------------------------
|
198
|
-
[1m[36m (0.
|
199
|
-
[1m[35m (0.
|
247
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
248
|
+
[1m[35m (0.0ms)[0m begin transaction
|
200
249
|
----------------------------------------------------------------------------------
|
201
250
|
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
202
251
|
----------------------------------------------------------------------------------
|
203
252
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
204
|
-
[1m[35m (0.
|
205
|
-
-------------------------------------------------------------------------
|
206
|
-
ForestLiana::SchemaAdapterTest: test_String_should_have_the_type_`String`
|
207
|
-
-------------------------------------------------------------------------
|
208
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
209
|
-
[1m[35m (0.1ms)[0m begin transaction
|
210
|
-
-----------------------------------------------------------
|
211
|
-
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
212
|
-
-----------------------------------------------------------
|
213
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
214
|
-
[1m[35m (0.1ms)[0m begin transaction
|
215
|
-
------------------------------------------------------------------------
|
216
|
-
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
217
|
-
------------------------------------------------------------------------
|
218
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
219
|
-
[1m[35m (0.1ms)[0m begin transaction
|
253
|
+
[1m[35m (0.0ms)[0m begin transaction
|
220
254
|
--------------------------------------------------------------------------
|
221
255
|
ForestLiana::SchemaAdapterTest: test_Integer_should_have_the_type_`Number`
|
222
256
|
--------------------------------------------------------------------------
|
223
|
-
[1m[36m (0.
|
224
|
-
[1m[35m (0.
|
257
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
258
|
+
[1m[35m (0.0ms)[0m begin transaction
|
225
259
|
---------------------------------------------------------------------------
|
226
260
|
ForestLiana::SchemaAdapterTest: test_Boolean_should_have_the_type_`Boolean`
|
227
261
|
---------------------------------------------------------------------------
|
228
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
229
|
-
[1m[35m (0.1ms)[0m begin transaction
|
230
|
-
-------------------------------------------------------------------------
|
231
|
-
ForestLiana::SchemaAdapterTest: test_DateTime_should_have_the_type_`Date`
|
232
|
-
-------------------------------------------------------------------------
|
233
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
234
|
-
[1m[35m (0.1ms)[0m begin transaction
|
235
|
-
--------------------------------------------------------------------------
|
236
|
-
ForestLiana::SchemaAdapterTest: test_Decimal_should_have_the_type_`Number`
|
237
|
-
--------------------------------------------------------------------------
|
238
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
239
|
-
[1m[35m (0.1ms)[0m begin transaction
|
240
|
-
---------------------------------------------------------------------
|
241
|
-
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
242
|
-
---------------------------------------------------------------------
|
243
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
244
|
-
[1m[35m (0.1ms)[0m begin transaction
|
245
|
-
---------------------------------------------------------
|
246
|
-
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
247
|
-
---------------------------------------------------------
|
248
262
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
249
263
|
[1m[35m (0.0ms)[0m begin transaction
|
250
264
|
--------------------------------------------------------
|
251
265
|
ForestLiana::SchemaAdapterTest: test_hasOne_relationship
|
252
266
|
--------------------------------------------------------
|
253
267
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
254
|
-
[1m[
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
268
|
+
[1m[35m (0.0ms)[0m begin transaction
|
269
|
+
---------------------------------------------------------------------
|
270
|
+
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
271
|
+
---------------------------------------------------------------------
|
272
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
260
273
|
[1m[35m (0.0ms)[0m begin transaction
|
261
274
|
-------------------------------------------------------------------------
|
262
275
|
ForestLiana::SchemaAdapterTest: test_String_should_have_the_type_`String`
|
276
|
+
-------------------------------------------------------------------------
|
277
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
278
|
+
[1m[35m (0.0ms)[0m begin transaction
|
279
|
+
-------------------------------------------------------------------------
|
280
|
+
ForestLiana::SchemaAdapterTest: test_DateTime_should_have_the_type_`Date`
|
263
281
|
-------------------------------------------------------------------------
|
264
282
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
265
283
|
[1m[35m (0.1ms)[0m begin transaction
|
@@ -268,72 +286,148 @@ ForestLiana::SchemaAdapterTest: test_Decimal_should_have_the_type_`Number`
|
|
268
286
|
--------------------------------------------------------------------------
|
269
287
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
270
288
|
[1m[35m (0.0ms)[0m begin transaction
|
271
|
-
|
272
|
-
ForestLiana::SchemaAdapterTest:
|
273
|
-
|
289
|
+
---------------------------------------------------------
|
290
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
291
|
+
---------------------------------------------------------
|
274
292
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
275
|
-
[1m[35m (0.
|
276
|
-
|
277
|
-
ForestLiana::SchemaAdapterTest:
|
278
|
-
|
279
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
280
|
-
[1m[35m (0.0ms)[0m begin transaction
|
281
|
-
------------------------------------------------------------------------------------
|
282
|
-
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
283
|
-
------------------------------------------------------------------------------------
|
293
|
+
[1m[35m (0.1ms)[0m begin transaction
|
294
|
+
-----------------------------------------------------------
|
295
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
296
|
+
-----------------------------------------------------------
|
284
297
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
285
|
-
[1m[
|
298
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
299
|
+
[1m[35m (0.1ms)[0m begin transaction
|
286
300
|
---------------------------------------------------------------------------
|
287
301
|
ForestLiana::SchemaAdapterTest: test_Boolean_should_have_the_type_`Boolean`
|
288
302
|
---------------------------------------------------------------------------
|
289
|
-
[1m[36m (0.
|
290
|
-
[1m[35m (0.
|
303
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
304
|
+
[1m[35m (0.0ms)[0m begin transaction
|
291
305
|
-----------------------------------------------------------
|
292
306
|
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
293
307
|
-----------------------------------------------------------
|
308
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
309
|
+
[1m[35m (0.0ms)[0m begin transaction
|
310
|
+
--------------------------------------------------------------------------
|
311
|
+
ForestLiana::SchemaAdapterTest: test_Decimal_should_have_the_type_`Number`
|
312
|
+
--------------------------------------------------------------------------
|
294
313
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
295
314
|
[1m[35m (0.1ms)[0m begin transaction
|
296
315
|
-------------------------------------------------------------------------
|
297
|
-
ForestLiana::SchemaAdapterTest:
|
316
|
+
ForestLiana::SchemaAdapterTest: test_String_should_have_the_type_`String`
|
298
317
|
-------------------------------------------------------------------------
|
299
318
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
319
|
+
[1m[35m (0.0ms)[0m begin transaction
|
320
|
+
------------------------------------------------------------------------------------
|
321
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
322
|
+
------------------------------------------------------------------------------------
|
323
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
300
324
|
[1m[35m (0.1ms)[0m begin transaction
|
301
|
-
|
302
|
-
ForestLiana::SchemaAdapterTest:
|
303
|
-
|
304
|
-
[1m[36m (0.
|
325
|
+
---------------------------------------------------------
|
326
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
327
|
+
---------------------------------------------------------
|
328
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
329
|
+
[1m[35m (0.1ms)[0m begin transaction
|
330
|
+
------------------------------------------------------------------------
|
331
|
+
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
332
|
+
------------------------------------------------------------------------
|
333
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
305
334
|
[1m[35m (0.1ms)[0m begin transaction
|
306
335
|
--------------------------------------------------------------------------
|
307
336
|
ForestLiana::SchemaAdapterTest: test_Integer_should_have_the_type_`Number`
|
308
337
|
--------------------------------------------------------------------------
|
309
|
-
[1m[36m (0.
|
310
|
-
[1m[35m (0.
|
338
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
339
|
+
[1m[35m (0.0ms)[0m begin transaction
|
340
|
+
-------------------------------------------------------------------------
|
341
|
+
ForestLiana::SchemaAdapterTest: test_DateTime_should_have_the_type_`Date`
|
342
|
+
-------------------------------------------------------------------------
|
343
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
344
|
+
[1m[35m (0.1ms)[0m begin transaction
|
345
|
+
--------------------------------------------------------
|
346
|
+
ForestLiana::SchemaAdapterTest: test_hasOne_relationship
|
347
|
+
--------------------------------------------------------
|
348
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
349
|
+
[1m[35m (0.1ms)[0m begin transaction
|
350
|
+
----------------------------------------------------------------------------------
|
351
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
352
|
+
----------------------------------------------------------------------------------
|
353
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
354
|
+
[1m[35m (0.0ms)[0m begin transaction
|
311
355
|
---------------------------------------------------------------------
|
312
356
|
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
313
357
|
---------------------------------------------------------------------
|
358
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
359
|
+
[1m[35m (0.0ms)[0m begin transaction
|
360
|
+
---------------------------
|
361
|
+
ForestLianaTest: test_truth
|
362
|
+
---------------------------
|
314
363
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
364
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
315
365
|
[1m[35m (0.1ms)[0m begin transaction
|
316
366
|
---------------------------
|
317
367
|
ForestLianaTest: test_truth
|
318
368
|
---------------------------
|
319
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
320
|
-
[1m[35m (0.1ms)[0m begin transaction
|
321
|
-
----------------------------------------------------------------------------------------
|
322
|
-
ForestLiana::ResourceDeserializerTest: test_JSONAPI_payload_should_support_relationships
|
323
|
-
----------------------------------------------------------------------------------------
|
324
369
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
370
|
+
[1m[35m (0.0ms)[0m begin transaction
|
371
|
+
--------------------------------------------------------
|
372
|
+
ForestLiana::SchemaAdapterTest: test_hasOne_relationship
|
373
|
+
--------------------------------------------------------
|
374
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
375
|
+
[1m[35m (0.1ms)[0m begin transaction
|
376
|
+
-----------------------------------------------------------
|
377
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
378
|
+
-----------------------------------------------------------
|
379
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
325
380
|
[1m[35m (0.1ms)[0m begin transaction
|
326
|
-
|
327
|
-
|
328
|
-
|
381
|
+
---------------------------
|
382
|
+
ForestLianaTest: test_truth
|
383
|
+
---------------------------
|
384
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
385
|
+
[1m[35m (0.0ms)[0m begin transaction
|
386
|
+
------------------------------------------------------------------------------------
|
387
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
388
|
+
------------------------------------------------------------------------------------
|
329
389
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
330
|
-
[1m[
|
390
|
+
[1m[35m (0.1ms)[0m begin transaction
|
391
|
+
--------------------------------------------------------------------------
|
392
|
+
ForestLiana::SchemaAdapterTest: test_Integer_should_have_the_type_`Number`
|
393
|
+
--------------------------------------------------------------------------
|
394
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
331
395
|
[1m[35m (0.1ms)[0m begin transaction
|
332
396
|
---------------------------------------------------------------------------
|
333
397
|
ForestLiana::SchemaAdapterTest: test_Boolean_should_have_the_type_`Boolean`
|
334
398
|
---------------------------------------------------------------------------
|
399
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
400
|
+
[1m[35m (0.1ms)[0m begin transaction
|
401
|
+
------------------------------------------------------------------------
|
402
|
+
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
403
|
+
------------------------------------------------------------------------
|
404
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
405
|
+
[1m[35m (0.1ms)[0m begin transaction
|
406
|
+
-----------------------------------------------------------
|
407
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
408
|
+
-----------------------------------------------------------
|
409
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
410
|
+
[1m[35m (0.1ms)[0m begin transaction
|
411
|
+
-------------------------------------------------------------------------
|
412
|
+
ForestLiana::SchemaAdapterTest: test_DateTime_should_have_the_type_`Date`
|
413
|
+
-------------------------------------------------------------------------
|
335
414
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
415
|
+
[1m[35m (0.1ms)[0m begin transaction
|
416
|
+
--------------------------------------------------------------------------
|
417
|
+
ForestLiana::SchemaAdapterTest: test_Decimal_should_have_the_type_`Number`
|
418
|
+
--------------------------------------------------------------------------
|
419
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
336
420
|
[1m[35m (0.0ms)[0m begin transaction
|
421
|
+
----------------------------------------------------------------------------------
|
422
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
423
|
+
----------------------------------------------------------------------------------
|
424
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
425
|
+
[1m[35m (0.1ms)[0m begin transaction
|
426
|
+
-------------------------------------------------------------------------
|
427
|
+
ForestLiana::SchemaAdapterTest: test_String_should_have_the_type_`String`
|
428
|
+
-------------------------------------------------------------------------
|
429
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
430
|
+
[1m[35m (0.1ms)[0m begin transaction
|
337
431
|
---------------------------------------------------------------------
|
338
432
|
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
339
433
|
---------------------------------------------------------------------
|
@@ -342,22 +436,43 @@ ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
|
342
436
|
---------------------------------------------------------
|
343
437
|
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
344
438
|
---------------------------------------------------------
|
345
|
-
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
346
|
-
[1m[35m (0.1ms)[0m begin transaction
|
347
|
-
------------------------------------------------------------------------
|
348
|
-
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
349
|
-
------------------------------------------------------------------------
|
350
439
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
440
|
+
[1m[35m (0.0ms)[0m begin transaction
|
441
|
+
--------------------------------------------------------
|
442
|
+
ForestLiana::SchemaAdapterTest: test_hasOne_relationship
|
443
|
+
--------------------------------------------------------
|
444
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
445
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
351
446
|
[1m[35m (0.1ms)[0m begin transaction
|
447
|
+
---------------------------
|
448
|
+
ForestLianaTest: test_truth
|
449
|
+
---------------------------
|
450
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
451
|
+
[1m[35m (0.0ms)[0m begin transaction
|
352
452
|
-------------------------------------------------------------------------
|
353
453
|
ForestLiana::SchemaAdapterTest: test_String_should_have_the_type_`String`
|
354
454
|
-------------------------------------------------------------------------
|
355
455
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
356
456
|
[1m[35m (0.1ms)[0m begin transaction
|
357
|
-
|
358
|
-
ForestLiana::SchemaAdapterTest:
|
359
|
-
|
360
|
-
[1m[36m (0.
|
457
|
+
---------------------------------------------------------------------
|
458
|
+
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
459
|
+
---------------------------------------------------------------------
|
460
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
461
|
+
[1m[35m (0.0ms)[0m begin transaction
|
462
|
+
--------------------------------------------------------------------------
|
463
|
+
ForestLiana::SchemaAdapterTest: test_Integer_should_have_the_type_`Number`
|
464
|
+
--------------------------------------------------------------------------
|
465
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
466
|
+
[1m[35m (0.1ms)[0m begin transaction
|
467
|
+
------------------------------------------------------------------------
|
468
|
+
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
469
|
+
------------------------------------------------------------------------
|
470
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
471
|
+
[1m[35m (0.0ms)[0m begin transaction
|
472
|
+
---------------------------------------------------------------------------
|
473
|
+
ForestLiana::SchemaAdapterTest: test_Boolean_should_have_the_type_`Boolean`
|
474
|
+
---------------------------------------------------------------------------
|
475
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
361
476
|
[1m[35m (0.1ms)[0m begin transaction
|
362
477
|
-----------------------------------------------------------
|
363
478
|
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
@@ -367,29 +482,781 @@ ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
|
367
482
|
------------------------------------------------------------------------------------
|
368
483
|
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
369
484
|
------------------------------------------------------------------------------------
|
485
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
486
|
+
[1m[35m (0.1ms)[0m begin transaction
|
487
|
+
-------------------------------------------------------------------------
|
488
|
+
ForestLiana::SchemaAdapterTest: test_String_should_have_the_type_`String`
|
489
|
+
-------------------------------------------------------------------------
|
370
490
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
371
491
|
[1m[35m (0.1ms)[0m begin transaction
|
372
492
|
--------------------------------------------------------------------------
|
373
|
-
ForestLiana::SchemaAdapterTest:
|
493
|
+
ForestLiana::SchemaAdapterTest: test_Integer_should_have_the_type_`Number`
|
374
494
|
--------------------------------------------------------------------------
|
375
|
-
[1m[36m (0.
|
495
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
496
|
+
[1m[35m (0.0ms)[0m begin transaction
|
497
|
+
---------------------------------------------------------------------
|
498
|
+
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
499
|
+
---------------------------------------------------------------------
|
500
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
376
501
|
[1m[35m (0.1ms)[0m begin transaction
|
377
502
|
----------------------------------------------------------------------------------
|
378
503
|
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
379
504
|
----------------------------------------------------------------------------------
|
380
|
-
[1m[36m (0.
|
381
|
-
[1m[35m (0.
|
505
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
506
|
+
[1m[35m (0.0ms)[0m begin transaction
|
507
|
+
---------------------------------------------------------------------------
|
508
|
+
ForestLiana::SchemaAdapterTest: test_Boolean_should_have_the_type_`Boolean`
|
509
|
+
---------------------------------------------------------------------------
|
510
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
511
|
+
[1m[35m (0.0ms)[0m begin transaction
|
512
|
+
---------------------------------------------------------
|
513
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
514
|
+
---------------------------------------------------------
|
515
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
516
|
+
[1m[35m (0.1ms)[0m begin transaction
|
517
|
+
--------------------------------------------------------------------------
|
518
|
+
ForestLiana::SchemaAdapterTest: test_Decimal_should_have_the_type_`Number`
|
519
|
+
--------------------------------------------------------------------------
|
520
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
521
|
+
[1m[35m (0.1ms)[0m begin transaction
|
382
522
|
-------------------------------------------------------------------------
|
383
523
|
ForestLiana::SchemaAdapterTest: test_DateTime_should_have_the_type_`Date`
|
384
524
|
-------------------------------------------------------------------------
|
525
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
526
|
+
[1m[35m (0.0ms)[0m begin transaction
|
527
|
+
-----------------------------------------------------------
|
528
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
529
|
+
-----------------------------------------------------------
|
530
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
531
|
+
[1m[35m (0.0ms)[0m begin transaction
|
532
|
+
--------------------------------------------------------
|
533
|
+
ForestLiana::SchemaAdapterTest: test_hasOne_relationship
|
534
|
+
--------------------------------------------------------
|
535
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
536
|
+
[1m[35m (0.0ms)[0m begin transaction
|
537
|
+
------------------------------------------------------------------------
|
538
|
+
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
539
|
+
------------------------------------------------------------------------
|
540
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
541
|
+
[1m[35m (0.0ms)[0m begin transaction
|
542
|
+
------------------------------------------------------------------------------------
|
543
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
544
|
+
------------------------------------------------------------------------------------
|
385
545
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
386
546
|
[1m[35m (0.1ms)[0m begin transaction
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
[1m[36m (0.
|
547
|
+
---------------------------
|
548
|
+
ForestLianaTest: test_truth
|
549
|
+
---------------------------
|
550
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
551
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
391
552
|
[1m[35m (0.1ms)[0m begin transaction
|
392
553
|
---------------------------
|
393
554
|
ForestLianaTest: test_truth
|
394
555
|
---------------------------
|
556
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
557
|
+
[1m[35m (0.0ms)[0m begin transaction
|
558
|
+
--------------------------------------------------------------------------
|
559
|
+
ForestLiana::SchemaAdapterTest: test_Decimal_should_have_the_type_`Number`
|
560
|
+
--------------------------------------------------------------------------
|
561
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
562
|
+
[1m[35m (0.0ms)[0m begin transaction
|
563
|
+
---------------------------------------------------------
|
564
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
565
|
+
---------------------------------------------------------
|
566
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
567
|
+
[1m[35m (0.1ms)[0m begin transaction
|
568
|
+
---------------------------------------------------------------------
|
569
|
+
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
570
|
+
---------------------------------------------------------------------
|
571
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
572
|
+
[1m[35m (0.1ms)[0m begin transaction
|
573
|
+
-------------------------------------------------------------------------
|
574
|
+
ForestLiana::SchemaAdapterTest: test_String_should_have_the_type_`String`
|
575
|
+
-------------------------------------------------------------------------
|
576
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
577
|
+
[1m[35m (0.1ms)[0m begin transaction
|
578
|
+
--------------------------------------------------------
|
579
|
+
ForestLiana::SchemaAdapterTest: test_hasOne_relationship
|
580
|
+
--------------------------------------------------------
|
581
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
582
|
+
[1m[35m (0.1ms)[0m begin transaction
|
583
|
+
---------------------------------------------------------------------------
|
584
|
+
ForestLiana::SchemaAdapterTest: test_Boolean_should_have_the_type_`Boolean`
|
585
|
+
---------------------------------------------------------------------------
|
586
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
587
|
+
[1m[35m (0.0ms)[0m begin transaction
|
588
|
+
------------------------------------------------------------------------------------
|
589
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
590
|
+
------------------------------------------------------------------------------------
|
591
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
592
|
+
[1m[35m (0.0ms)[0m begin transaction
|
593
|
+
--------------------------------------------------------------------------
|
594
|
+
ForestLiana::SchemaAdapterTest: test_Integer_should_have_the_type_`Number`
|
595
|
+
--------------------------------------------------------------------------
|
596
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
597
|
+
[1m[35m (0.0ms)[0m begin transaction
|
598
|
+
-----------------------------------------------------------
|
599
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
600
|
+
-----------------------------------------------------------
|
601
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
602
|
+
[1m[35m (0.1ms)[0m begin transaction
|
603
|
+
-------------------------------------------------------------------------
|
604
|
+
ForestLiana::SchemaAdapterTest: test_DateTime_should_have_the_type_`Date`
|
605
|
+
-------------------------------------------------------------------------
|
606
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
607
|
+
[1m[35m (0.1ms)[0m begin transaction
|
608
|
+
----------------------------------------------------------------------------------
|
609
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
610
|
+
----------------------------------------------------------------------------------
|
611
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
612
|
+
[1m[35m (0.1ms)[0m begin transaction
|
613
|
+
-------------------------------------------------------------------------
|
614
|
+
ForestLiana::SchemaAdapterTest: test_String_should_have_the_type_`String`
|
615
|
+
-------------------------------------------------------------------------
|
616
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
617
|
+
[1m[35m (0.1ms)[0m begin transaction
|
618
|
+
-------------------------------------------------------------------------
|
619
|
+
ForestLiana::SchemaAdapterTest: test_DateTime_should_have_the_type_`Date`
|
620
|
+
-------------------------------------------------------------------------
|
621
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
622
|
+
[1m[35m (0.1ms)[0m begin transaction
|
623
|
+
------------------------------------------------------------------------
|
624
|
+
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
625
|
+
------------------------------------------------------------------------
|
626
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
627
|
+
[1m[35m (0.1ms)[0m begin transaction
|
628
|
+
---------------------------------------------------------------------------
|
629
|
+
ForestLiana::SchemaAdapterTest: test_Boolean_should_have_the_type_`Boolean`
|
630
|
+
---------------------------------------------------------------------------
|
631
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
632
|
+
[1m[35m (0.1ms)[0m begin transaction
|
633
|
+
--------------------------------------------------------------------------
|
634
|
+
ForestLiana::SchemaAdapterTest: test_Integer_should_have_the_type_`Number`
|
635
|
+
--------------------------------------------------------------------------
|
636
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
637
|
+
[1m[35m (0.1ms)[0m begin transaction
|
638
|
+
---------------------------------------------------------------------
|
639
|
+
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
640
|
+
---------------------------------------------------------------------
|
641
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
642
|
+
[1m[35m (0.1ms)[0m begin transaction
|
643
|
+
-----------------------------------------------------------
|
644
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
645
|
+
-----------------------------------------------------------
|
646
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
647
|
+
[1m[35m (0.1ms)[0m begin transaction
|
648
|
+
----------------------------------------------------------------------------------
|
649
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
650
|
+
----------------------------------------------------------------------------------
|
651
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
652
|
+
[1m[35m (0.1ms)[0m begin transaction
|
653
|
+
--------------------------------------------------------------------------
|
654
|
+
ForestLiana::SchemaAdapterTest: test_Decimal_should_have_the_type_`Number`
|
655
|
+
--------------------------------------------------------------------------
|
656
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
657
|
+
[1m[35m (0.1ms)[0m begin transaction
|
658
|
+
---------------------------------------------------------
|
659
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
660
|
+
---------------------------------------------------------
|
661
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
662
|
+
[1m[35m (0.0ms)[0m begin transaction
|
663
|
+
------------------------------------------------------------------------------------
|
664
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
665
|
+
------------------------------------------------------------------------------------
|
666
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
667
|
+
[1m[35m (0.1ms)[0m begin transaction
|
668
|
+
--------------------------------------------------------
|
669
|
+
ForestLiana::SchemaAdapterTest: test_hasOne_relationship
|
670
|
+
--------------------------------------------------------
|
671
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
672
|
+
[1m[35m (0.1ms)[0m begin transaction
|
673
|
+
---------------------------
|
674
|
+
ForestLianaTest: test_truth
|
675
|
+
---------------------------
|
676
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
677
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
678
|
+
[1m[35m (0.1ms)[0m begin transaction
|
679
|
+
---------------------------
|
680
|
+
ForestLianaTest: test_truth
|
681
|
+
---------------------------
|
682
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
683
|
+
[1m[35m (0.0ms)[0m begin transaction
|
684
|
+
---------------------------------------------------------------------
|
685
|
+
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
686
|
+
---------------------------------------------------------------------
|
687
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
688
|
+
[1m[35m (0.1ms)[0m begin transaction
|
689
|
+
------------------------------------------------------------------------------------
|
690
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
691
|
+
------------------------------------------------------------------------------------
|
692
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
693
|
+
[1m[35m (0.1ms)[0m begin transaction
|
694
|
+
--------------------------------------------------------------------------
|
695
|
+
ForestLiana::SchemaAdapterTest: test_Decimal_should_have_the_type_`Number`
|
696
|
+
--------------------------------------------------------------------------
|
697
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
698
|
+
[1m[35m (0.1ms)[0m begin transaction
|
699
|
+
-------------------------------------------------------------------------
|
700
|
+
ForestLiana::SchemaAdapterTest: test_DateTime_should_have_the_type_`Date`
|
701
|
+
-------------------------------------------------------------------------
|
702
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
703
|
+
[1m[35m (0.0ms)[0m begin transaction
|
704
|
+
------------------------------------------------------------------------
|
705
|
+
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
706
|
+
------------------------------------------------------------------------
|
707
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
708
|
+
[1m[35m (0.1ms)[0m begin transaction
|
709
|
+
---------------------------------------------------------
|
710
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
711
|
+
---------------------------------------------------------
|
712
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
713
|
+
[1m[35m (0.0ms)[0m begin transaction
|
714
|
+
----------------------------------------------------------------------------------
|
715
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
716
|
+
----------------------------------------------------------------------------------
|
717
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
718
|
+
[1m[35m (0.1ms)[0m begin transaction
|
719
|
+
--------------------------------------------------------------------------
|
720
|
+
ForestLiana::SchemaAdapterTest: test_Integer_should_have_the_type_`Number`
|
721
|
+
--------------------------------------------------------------------------
|
722
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
723
|
+
[1m[35m (0.0ms)[0m begin transaction
|
724
|
+
-------------------------------------------------------------------------
|
725
|
+
ForestLiana::SchemaAdapterTest: test_String_should_have_the_type_`String`
|
726
|
+
-------------------------------------------------------------------------
|
727
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
728
|
+
[1m[35m (0.1ms)[0m begin transaction
|
729
|
+
-----------------------------------------------------------
|
730
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
731
|
+
-----------------------------------------------------------
|
732
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
733
|
+
[1m[35m (0.1ms)[0m begin transaction
|
734
|
+
---------------------------
|
735
|
+
ForestLianaTest: test_truth
|
736
|
+
---------------------------
|
737
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
738
|
+
[1m[35m (0.0ms)[0m begin transaction
|
739
|
+
---------------------------------------------------------------------------
|
740
|
+
ForestLiana::SchemaAdapterTest: test_Boolean_should_have_the_type_`Boolean`
|
741
|
+
---------------------------------------------------------------------------
|
742
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
743
|
+
[1m[35m (0.1ms)[0m begin transaction
|
744
|
+
------------------------------------------------------------------------
|
745
|
+
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
746
|
+
------------------------------------------------------------------------
|
747
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
748
|
+
[1m[35m (0.0ms)[0m begin transaction
|
749
|
+
--------------------------------------------------------------------------
|
750
|
+
ForestLiana::SchemaAdapterTest: test_Integer_should_have_the_type_`Number`
|
751
|
+
--------------------------------------------------------------------------
|
752
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
753
|
+
[1m[35m (0.0ms)[0m begin transaction
|
754
|
+
--------------------------------------------------------
|
755
|
+
ForestLiana::SchemaAdapterTest: test_hasOne_relationship
|
756
|
+
--------------------------------------------------------
|
757
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
758
|
+
[1m[35m (0.0ms)[0m begin transaction
|
759
|
+
-------------------------------------------------------------------------
|
760
|
+
ForestLiana::SchemaAdapterTest: test_DateTime_should_have_the_type_`Date`
|
761
|
+
-------------------------------------------------------------------------
|
762
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
763
|
+
[1m[35m (0.0ms)[0m begin transaction
|
764
|
+
---------------------------------------------------------
|
765
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
766
|
+
---------------------------------------------------------
|
767
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
768
|
+
[1m[35m (0.0ms)[0m begin transaction
|
769
|
+
-------------------------------------------------------------------------
|
770
|
+
ForestLiana::SchemaAdapterTest: test_String_should_have_the_type_`String`
|
771
|
+
-------------------------------------------------------------------------
|
772
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
773
|
+
[1m[35m (0.1ms)[0m begin transaction
|
774
|
+
--------------------------------------------------------------------------
|
775
|
+
ForestLiana::SchemaAdapterTest: test_Decimal_should_have_the_type_`Number`
|
776
|
+
--------------------------------------------------------------------------
|
777
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
778
|
+
[1m[35m (0.1ms)[0m begin transaction
|
779
|
+
-----------------------------------------------------------
|
780
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
781
|
+
-----------------------------------------------------------
|
782
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
783
|
+
[1m[35m (0.1ms)[0m begin transaction
|
784
|
+
------------------------------------------------------------------------------------
|
785
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
786
|
+
------------------------------------------------------------------------------------
|
787
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
788
|
+
[1m[35m (0.0ms)[0m begin transaction
|
789
|
+
----------------------------------------------------------------------------------
|
790
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
791
|
+
----------------------------------------------------------------------------------
|
792
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
793
|
+
[1m[35m (0.0ms)[0m begin transaction
|
794
|
+
---------------------------------------------------------------------
|
795
|
+
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
796
|
+
---------------------------------------------------------------------
|
797
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
798
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
799
|
+
[1m[35m (0.1ms)[0m begin transaction
|
800
|
+
---------------------------
|
801
|
+
ForestLianaTest: test_truth
|
802
|
+
---------------------------
|
803
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
804
|
+
[1m[35m (0.0ms)[0m begin transaction
|
805
|
+
---------------------------------------------------------
|
806
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
807
|
+
---------------------------------------------------------
|
808
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
809
|
+
[1m[35m (0.1ms)[0m begin transaction
|
810
|
+
---------------------------
|
811
|
+
ForestLianaTest: test_truth
|
812
|
+
---------------------------
|
813
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
814
|
+
[1m[35m (0.1ms)[0m begin transaction
|
815
|
+
---------------------------------------------------------------------------
|
816
|
+
ForestLiana::SchemaAdapterTest: test_Boolean_should_have_the_type_`Boolean`
|
817
|
+
---------------------------------------------------------------------------
|
818
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
819
|
+
[1m[35m (0.1ms)[0m begin transaction
|
820
|
+
-------------------------------------------------------------------------
|
821
|
+
ForestLiana::SchemaAdapterTest: test_DateTime_should_have_the_type_`Date`
|
822
|
+
-------------------------------------------------------------------------
|
823
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
824
|
+
[1m[35m (0.1ms)[0m begin transaction
|
825
|
+
---------------------------------------------------------
|
826
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
827
|
+
---------------------------------------------------------
|
828
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
829
|
+
[1m[35m (0.1ms)[0m begin transaction
|
830
|
+
--------------------------------------------------------
|
831
|
+
ForestLiana::SchemaAdapterTest: test_hasOne_relationship
|
832
|
+
--------------------------------------------------------
|
833
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
834
|
+
[1m[35m (0.1ms)[0m begin transaction
|
835
|
+
----------------------------------------------------------------------------------
|
836
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
837
|
+
----------------------------------------------------------------------------------
|
838
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
839
|
+
[1m[35m (0.1ms)[0m begin transaction
|
840
|
+
--------------------------------------------------------------------------
|
841
|
+
ForestLiana::SchemaAdapterTest: test_Integer_should_have_the_type_`Number`
|
842
|
+
--------------------------------------------------------------------------
|
843
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
844
|
+
[1m[35m (0.1ms)[0m begin transaction
|
845
|
+
------------------------------------------------------------------------------------
|
846
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
847
|
+
------------------------------------------------------------------------------------
|
848
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
849
|
+
[1m[35m (0.0ms)[0m begin transaction
|
850
|
+
--------------------------------------------------------------------------
|
851
|
+
ForestLiana::SchemaAdapterTest: test_Decimal_should_have_the_type_`Number`
|
852
|
+
--------------------------------------------------------------------------
|
853
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
854
|
+
[1m[35m (0.1ms)[0m begin transaction
|
855
|
+
------------------------------------------------------------------------
|
856
|
+
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
857
|
+
------------------------------------------------------------------------
|
858
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
859
|
+
[1m[35m (0.1ms)[0m begin transaction
|
860
|
+
-------------------------------------------------------------------------
|
861
|
+
ForestLiana::SchemaAdapterTest: test_String_should_have_the_type_`String`
|
862
|
+
-------------------------------------------------------------------------
|
863
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
864
|
+
[1m[35m (0.0ms)[0m begin transaction
|
865
|
+
---------------------------------------------------------------------
|
866
|
+
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
867
|
+
---------------------------------------------------------------------
|
868
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
869
|
+
[1m[35m (0.0ms)[0m begin transaction
|
870
|
+
-----------------------------------------------------------
|
871
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
872
|
+
-----------------------------------------------------------
|
873
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
874
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
875
|
+
[1m[35m (0.1ms)[0m begin transaction
|
876
|
+
--------------------------------------------------------
|
877
|
+
ForestLiana::SchemaAdapterTest: test_hasOne_relationship
|
878
|
+
--------------------------------------------------------
|
879
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
880
|
+
[1m[35m (0.0ms)[0m begin transaction
|
881
|
+
--------------------------------------------------------------------------
|
882
|
+
ForestLiana::SchemaAdapterTest: test_Decimal_should_have_the_type_`Number`
|
883
|
+
--------------------------------------------------------------------------
|
884
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
885
|
+
[1m[35m (0.1ms)[0m begin transaction
|
886
|
+
-------------------------------------------------------------------------
|
887
|
+
ForestLiana::SchemaAdapterTest: test_String_should_have_the_type_`String`
|
888
|
+
-------------------------------------------------------------------------
|
889
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
890
|
+
[1m[35m (0.0ms)[0m begin transaction
|
891
|
+
---------------------------------------------------------------------------
|
892
|
+
ForestLiana::SchemaAdapterTest: test_Boolean_should_have_the_type_`Boolean`
|
893
|
+
---------------------------------------------------------------------------
|
894
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
895
|
+
[1m[35m (0.0ms)[0m begin transaction
|
896
|
+
------------------------------------------------------------------------
|
897
|
+
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
898
|
+
------------------------------------------------------------------------
|
899
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
900
|
+
[1m[35m (0.0ms)[0m begin transaction
|
901
|
+
-----------------------------------------------------------
|
902
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
903
|
+
-----------------------------------------------------------
|
904
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
905
|
+
[1m[35m (0.1ms)[0m begin transaction
|
906
|
+
------------------------------------------------------------------------------------
|
907
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
908
|
+
------------------------------------------------------------------------------------
|
909
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
910
|
+
[1m[35m (0.0ms)[0m begin transaction
|
911
|
+
---------------------------------------------------------------------
|
912
|
+
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
913
|
+
---------------------------------------------------------------------
|
914
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
915
|
+
[1m[35m (0.0ms)[0m begin transaction
|
916
|
+
--------------------------------------------------------------------------
|
917
|
+
ForestLiana::SchemaAdapterTest: test_Integer_should_have_the_type_`Number`
|
918
|
+
--------------------------------------------------------------------------
|
919
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
920
|
+
[1m[35m (0.0ms)[0m begin transaction
|
921
|
+
---------------------------------------------------------
|
922
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
923
|
+
---------------------------------------------------------
|
924
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
925
|
+
[1m[35m (0.1ms)[0m begin transaction
|
926
|
+
-------------------------------------------------------------------------
|
927
|
+
ForestLiana::SchemaAdapterTest: test_DateTime_should_have_the_type_`Date`
|
928
|
+
-------------------------------------------------------------------------
|
929
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
930
|
+
[1m[35m (0.1ms)[0m begin transaction
|
931
|
+
----------------------------------------------------------------------------------
|
932
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
933
|
+
----------------------------------------------------------------------------------
|
934
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
935
|
+
[1m[35m (0.1ms)[0m begin transaction
|
936
|
+
---------------------------
|
937
|
+
ForestLianaTest: test_truth
|
938
|
+
---------------------------
|
939
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
940
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
941
|
+
[1m[35m (0.2ms)[0m begin transaction
|
942
|
+
---------------------------
|
943
|
+
ForestLianaTest: test_truth
|
944
|
+
---------------------------
|
945
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
946
|
+
[1m[35m (0.0ms)[0m begin transaction
|
947
|
+
---------------------------------------------------------------------------
|
948
|
+
ForestLiana::SchemaAdapterTest: test_Boolean_should_have_the_type_`Boolean`
|
949
|
+
---------------------------------------------------------------------------
|
950
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
951
|
+
[1m[35m (0.1ms)[0m begin transaction
|
952
|
+
--------------------------------------------------------------------------
|
953
|
+
ForestLiana::SchemaAdapterTest: test_Decimal_should_have_the_type_`Number`
|
954
|
+
--------------------------------------------------------------------------
|
955
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
956
|
+
[1m[35m (0.0ms)[0m begin transaction
|
957
|
+
---------------------------------------------------------------------
|
958
|
+
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
959
|
+
---------------------------------------------------------------------
|
960
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
961
|
+
[1m[35m (0.1ms)[0m begin transaction
|
962
|
+
-------------------------------------------------------------------------
|
963
|
+
ForestLiana::SchemaAdapterTest: test_DateTime_should_have_the_type_`Date`
|
964
|
+
-------------------------------------------------------------------------
|
965
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
966
|
+
[1m[35m (0.1ms)[0m begin transaction
|
967
|
+
------------------------------------------------------------------------
|
968
|
+
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
969
|
+
------------------------------------------------------------------------
|
970
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
971
|
+
[1m[35m (0.0ms)[0m begin transaction
|
972
|
+
-------------------------------------------------------------------------
|
973
|
+
ForestLiana::SchemaAdapterTest: test_String_should_have_the_type_`String`
|
974
|
+
-------------------------------------------------------------------------
|
975
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
976
|
+
[1m[35m (0.0ms)[0m begin transaction
|
977
|
+
--------------------------------------------------------------------------
|
978
|
+
ForestLiana::SchemaAdapterTest: test_Integer_should_have_the_type_`Number`
|
979
|
+
--------------------------------------------------------------------------
|
980
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
981
|
+
[1m[35m (0.1ms)[0m begin transaction
|
982
|
+
------------------------------------------------------------------------------------
|
983
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
984
|
+
------------------------------------------------------------------------------------
|
985
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
986
|
+
[1m[35m (0.1ms)[0m begin transaction
|
987
|
+
--------------------------------------------------------
|
988
|
+
ForestLiana::SchemaAdapterTest: test_hasOne_relationship
|
989
|
+
--------------------------------------------------------
|
990
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
991
|
+
[1m[35m (0.1ms)[0m begin transaction
|
992
|
+
----------------------------------------------------------------------------------
|
993
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
994
|
+
----------------------------------------------------------------------------------
|
995
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
996
|
+
[1m[35m (0.1ms)[0m begin transaction
|
997
|
+
---------------------------------------------------------
|
998
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
999
|
+
---------------------------------------------------------
|
1000
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1001
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1002
|
+
-----------------------------------------------------------
|
1003
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
1004
|
+
-----------------------------------------------------------
|
1005
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1006
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1007
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1008
|
+
---------------------------
|
1009
|
+
ForestLianaTest: test_truth
|
1010
|
+
---------------------------
|
1011
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1012
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1013
|
+
------------------------------------------------------------------------
|
1014
|
+
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
1015
|
+
------------------------------------------------------------------------
|
1016
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1017
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1018
|
+
-----------------------------------------------------------
|
1019
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
1020
|
+
-----------------------------------------------------------
|
1021
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1022
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1023
|
+
---------------------------------------------------------------------
|
1024
|
+
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
1025
|
+
---------------------------------------------------------------------
|
1026
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1027
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1028
|
+
----------------------------------------------------------------------------------
|
1029
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
1030
|
+
----------------------------------------------------------------------------------
|
1031
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1032
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1033
|
+
---------------------------------------------------------
|
1034
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
1035
|
+
---------------------------------------------------------
|
1036
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1037
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1038
|
+
---------------------------------------------------------
|
1039
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
1040
|
+
---------------------------------------------------------
|
1041
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1042
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1043
|
+
---------------------------
|
1044
|
+
ForestLianaTest: test_truth
|
1045
|
+
---------------------------
|
1046
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1047
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1048
|
+
---------------------------------------------------------
|
1049
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
1050
|
+
---------------------------------------------------------
|
1051
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1052
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1053
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1054
|
+
---------------------------
|
1055
|
+
ForestLianaTest: test_truth
|
1056
|
+
---------------------------
|
1057
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1058
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1059
|
+
---------------------------------------------------------
|
1060
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
1061
|
+
---------------------------------------------------------
|
1062
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1063
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1064
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1065
|
+
---------------------------
|
1066
|
+
ForestLianaTest: test_truth
|
1067
|
+
---------------------------
|
1068
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1069
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1070
|
+
------------------------------------------------------------------------------------
|
1071
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
1072
|
+
------------------------------------------------------------------------------------
|
1073
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1074
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1075
|
+
--------------------------------------------------------
|
1076
|
+
ForestLiana::SchemaAdapterTest: test_hasOne_relationship
|
1077
|
+
--------------------------------------------------------
|
1078
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1079
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1080
|
+
--------------------------------------------------------------------------
|
1081
|
+
ForestLiana::SchemaAdapterTest: test_Decimal_should_have_the_type_`Number`
|
1082
|
+
--------------------------------------------------------------------------
|
1083
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1084
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1085
|
+
-----------------------------------------------------------
|
1086
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
1087
|
+
-----------------------------------------------------------
|
1088
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1089
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1090
|
+
--------------------------------------------------------------------------
|
1091
|
+
ForestLiana::SchemaAdapterTest: test_Integer_should_have_the_type_`Number`
|
1092
|
+
--------------------------------------------------------------------------
|
1093
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1094
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1095
|
+
---------------------------------------------------------------------------
|
1096
|
+
ForestLiana::SchemaAdapterTest: test_Boolean_should_have_the_type_`Boolean`
|
1097
|
+
---------------------------------------------------------------------------
|
1098
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1099
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1100
|
+
------------------------------------------------------------------------
|
1101
|
+
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
1102
|
+
------------------------------------------------------------------------
|
1103
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1104
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1105
|
+
---------------------------------------------------------------------
|
1106
|
+
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
1107
|
+
---------------------------------------------------------------------
|
1108
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1109
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1110
|
+
----------------------------------------------------------------------------------
|
1111
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
1112
|
+
----------------------------------------------------------------------------------
|
1113
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1114
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1115
|
+
-------------------------------------------------------------------------
|
1116
|
+
ForestLiana::SchemaAdapterTest: test_DateTime_should_have_the_type_`Date`
|
1117
|
+
-------------------------------------------------------------------------
|
1118
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1119
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1120
|
+
-------------------------------------------------------------------------
|
1121
|
+
ForestLiana::SchemaAdapterTest: test_String_should_have_the_type_`String`
|
1122
|
+
-------------------------------------------------------------------------
|
1123
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1124
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1125
|
+
---------------------------------------------------------
|
1126
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
1127
|
+
---------------------------------------------------------
|
1128
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1129
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1130
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1131
|
+
------------------------------------------------------------------------------------
|
1132
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
1133
|
+
------------------------------------------------------------------------------------
|
1134
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1135
|
+
[1m[35m (0.2ms)[0m begin transaction
|
1136
|
+
---------------------------
|
1137
|
+
ForestLianaTest: test_truth
|
1138
|
+
---------------------------
|
1139
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1140
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1141
|
+
------------------------------------------------------------------------------------
|
1142
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
1143
|
+
------------------------------------------------------------------------------------
|
1144
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1145
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1146
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1147
|
+
------------------------------------------------------------------------------------
|
1148
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
1149
|
+
------------------------------------------------------------------------------------
|
1150
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1151
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1152
|
+
---------------------------
|
1153
|
+
ForestLianaTest: test_truth
|
1154
|
+
---------------------------
|
1155
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1156
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1157
|
+
------------------------------------------------------------------------------------
|
1158
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
1159
|
+
------------------------------------------------------------------------------------
|
1160
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1161
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1162
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1163
|
+
---------------------------
|
1164
|
+
ForestLianaTest: test_truth
|
1165
|
+
---------------------------
|
1166
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1167
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1168
|
+
------------------------------------------------------------------------------------
|
1169
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
1170
|
+
------------------------------------------------------------------------------------
|
1171
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1172
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1173
|
+
----------------------------------------------------------------------------------
|
1174
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
1175
|
+
----------------------------------------------------------------------------------
|
1176
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1177
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1178
|
+
----------------------------------------------------------------------------------
|
1179
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
1180
|
+
----------------------------------------------------------------------------------
|
1181
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1182
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1183
|
+
------------------------------------------------------------------------------------
|
1184
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
1185
|
+
------------------------------------------------------------------------------------
|
1186
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1187
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1188
|
+
---------------------------
|
1189
|
+
ForestLianaTest: test_truth
|
1190
|
+
---------------------------
|
1191
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1192
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1193
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1194
|
+
----------------------------------------------------------------------------------
|
1195
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
1196
|
+
----------------------------------------------------------------------------------
|
1197
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1198
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1199
|
+
---------------------------
|
1200
|
+
ForestLianaTest: test_truth
|
1201
|
+
---------------------------
|
1202
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1203
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1204
|
+
---------------------------------------------------------------------------
|
1205
|
+
ForestLiana::SchemaAdapterTest: test_Boolean_should_have_the_type_`Boolean`
|
1206
|
+
---------------------------------------------------------------------------
|
1207
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1208
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1209
|
+
----------------------------------------------------------------------------------
|
1210
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
1211
|
+
----------------------------------------------------------------------------------
|
1212
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1213
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1214
|
+
--------------------------------------------------------------------------
|
1215
|
+
ForestLiana::SchemaAdapterTest: test_Integer_should_have_the_type_`Number`
|
1216
|
+
--------------------------------------------------------------------------
|
1217
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1218
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1219
|
+
------------------------------------------------------------------------
|
1220
|
+
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
1221
|
+
------------------------------------------------------------------------
|
1222
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1223
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1224
|
+
--------------------------------------------------------------------------
|
1225
|
+
ForestLiana::SchemaAdapterTest: test_Decimal_should_have_the_type_`Number`
|
1226
|
+
--------------------------------------------------------------------------
|
1227
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1228
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1229
|
+
-------------------------------------------------------------------------
|
1230
|
+
ForestLiana::SchemaAdapterTest: test_String_should_have_the_type_`String`
|
1231
|
+
-------------------------------------------------------------------------
|
1232
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1233
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1234
|
+
---------------------------------------------------------------------
|
1235
|
+
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
1236
|
+
---------------------------------------------------------------------
|
1237
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1238
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1239
|
+
--------------------------------------------------------
|
1240
|
+
ForestLiana::SchemaAdapterTest: test_hasOne_relationship
|
1241
|
+
--------------------------------------------------------
|
1242
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1243
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1244
|
+
------------------------------------------------------------------------------------
|
1245
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
1246
|
+
------------------------------------------------------------------------------------
|
1247
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1248
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1249
|
+
-------------------------------------------------------------------------
|
1250
|
+
ForestLiana::SchemaAdapterTest: test_DateTime_should_have_the_type_`Date`
|
1251
|
+
-------------------------------------------------------------------------
|
1252
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1253
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1254
|
+
---------------------------------------------------------
|
1255
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
1256
|
+
---------------------------------------------------------
|
1257
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1258
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1259
|
+
-----------------------------------------------------------
|
1260
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
1261
|
+
-----------------------------------------------------------
|
395
1262
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|