forest_liana 1.0.0.pre.beta.4 → 1.0.1

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