forest_liana 9.15.5 → 9.15.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/controllers/forest_liana/application_controller.rb +8 -0
- data/app/helpers/forest_liana/decoration_helper.rb +4 -0
- data/app/serializers/forest_liana/serializer_factory.rb +0 -8
- data/lib/forest_liana/version.rb +1 -1
- data/spec/helpers/forest_liana/decoration_helper_spec.rb +234 -0
- data/spec/requests/actions_controller_spec.rb +102 -0
- data/spec/requests/resources_spec.rb +46 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d693ce27b46138de7814e1d7486d4d67b8e094ea57ecdaec552ab557ca870438
|
4
|
+
data.tar.gz: d236006d4441662e39102eb6791e8713754097b0ec1620f799557a6513c79531
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71f50a75e497a526837a9418f05ee8b8c361d1685875df78b29c88883d69da7766814f6e3f0b372a2edfdade2f2341c8115f8da2368dc968c9e3e00e3cd4bbdc
|
7
|
+
data.tar.gz: 301ebd315a041666583fcd2386c578850aaf627e8c4f6a9cfe1e5ca194abec82f9eb98777a08d1afc343e5fe54d30f68097c51c4fa88dadf4701c0618535b835
|
@@ -49,6 +49,10 @@ module ForestLiana
|
|
49
49
|
|
50
50
|
def serialize_models(records, options = {}, fields_searched = [])
|
51
51
|
options[:is_collection] = true
|
52
|
+
if options[:params] && options[:params][:fields].nil?
|
53
|
+
options[:context] = { unoptimized: true }.merge(options[:context] || {})
|
54
|
+
end
|
55
|
+
|
52
56
|
json = ForestAdmin::JSONAPI::Serializer.serialize(records, options)
|
53
57
|
|
54
58
|
if options[:params] && options[:params][:search]
|
@@ -63,6 +67,10 @@ module ForestLiana
|
|
63
67
|
force_utf8_encoding(json)
|
64
68
|
end
|
65
69
|
|
70
|
+
def get_collection
|
71
|
+
raise NotImplementedError, "#{self.class} must implement #get_collection"
|
72
|
+
end
|
73
|
+
|
66
74
|
def authenticate_user_from_jwt
|
67
75
|
begin
|
68
76
|
if request.headers
|
@@ -14,6 +14,10 @@ module ForestLiana
|
|
14
14
|
def self.decorate_for_search(records_serialized, field_names, search_value)
|
15
15
|
match_fields = {}
|
16
16
|
records_serialized['data'].each_with_index do |record, index|
|
17
|
+
unless record['attributes']
|
18
|
+
raise ArgumentError, "Missing 'attributes' key in record #{record}"
|
19
|
+
end
|
20
|
+
|
17
21
|
field_names.each do |field_name|
|
18
22
|
value = record['attributes'][field_name]
|
19
23
|
if value
|
@@ -60,28 +60,20 @@ module ForestLiana
|
|
60
60
|
unformatted_attr_name = serializer.unformat_name(attribute_name).to_sym
|
61
61
|
object = nil
|
62
62
|
is_collection = false
|
63
|
-
is_valid_attr = false
|
64
63
|
if serializer.has_one_relationships.has_key?(unformatted_attr_name)
|
65
64
|
# only added this condition
|
66
65
|
if root_object.class.reflect_on_association(unformatted_attr_name)&.polymorphic?
|
67
66
|
options[:context][:unoptimized] = true
|
68
67
|
end
|
69
68
|
|
70
|
-
is_valid_attr = true
|
71
69
|
attr_data = serializer.has_one_relationships[unformatted_attr_name]
|
72
70
|
object = serializer.has_one_relationship(unformatted_attr_name, attr_data)
|
73
71
|
elsif serializer.has_many_relationships.has_key?(unformatted_attr_name)
|
74
|
-
is_valid_attr = true
|
75
72
|
is_collection = true
|
76
73
|
attr_data = serializer.has_many_relationships[unformatted_attr_name]
|
77
74
|
object = serializer.has_many_relationship(unformatted_attr_name, attr_data)
|
78
75
|
end
|
79
76
|
|
80
|
-
if !is_valid_attr
|
81
|
-
raise ForestAdmin::JSONAPI::Serializer::InvalidIncludeError.new(
|
82
|
-
"'#{attribute_name}' is not a valid include.")
|
83
|
-
end
|
84
|
-
|
85
77
|
if attribute_name != serializer.format_name(attribute_name)
|
86
78
|
expected_name = serializer.format_name(attribute_name)
|
87
79
|
|
data/lib/forest_liana/version.rb
CHANGED
@@ -0,0 +1,234 @@
|
|
1
|
+
module ForestLiana
|
2
|
+
describe DecorationHelper do
|
3
|
+
describe '.detect_match_and_decorate' do
|
4
|
+
let(:record) do
|
5
|
+
{
|
6
|
+
'type' => 'User',
|
7
|
+
'id' => '123',
|
8
|
+
'attributes' => {
|
9
|
+
'id' => 123,
|
10
|
+
'name' => 'John Doe',
|
11
|
+
'email' => 'john@example.com'
|
12
|
+
},
|
13
|
+
'links' => { 'self' => '/forest/user/123' },
|
14
|
+
'relationships' => {}
|
15
|
+
}
|
16
|
+
end
|
17
|
+
let(:index) { 0 }
|
18
|
+
let(:field_name) { 'name' }
|
19
|
+
let(:value) { 'John Doe' }
|
20
|
+
let(:search_value) { 'john' }
|
21
|
+
let(:match_fields) { {} }
|
22
|
+
|
23
|
+
context 'when value matches search_value' do
|
24
|
+
it 'creates new match entry when none exists' do
|
25
|
+
described_class.detect_match_and_decorate(record, index, field_name, value, search_value, match_fields)
|
26
|
+
|
27
|
+
expect(match_fields[index]).to eq({
|
28
|
+
id: '123',
|
29
|
+
search: ['name']
|
30
|
+
})
|
31
|
+
end
|
32
|
+
|
33
|
+
it 'appends to existing match entry' do
|
34
|
+
match_fields[index] = { id: '123', search: ['email'] }
|
35
|
+
|
36
|
+
described_class.detect_match_and_decorate(record, index, field_name, value, search_value, match_fields)
|
37
|
+
|
38
|
+
expect(match_fields[index][:search]).to contain_exactly('email', 'name')
|
39
|
+
end
|
40
|
+
|
41
|
+
it 'performs case-insensitive matching' do
|
42
|
+
search_value = 'JOHN'
|
43
|
+
|
44
|
+
described_class.detect_match_and_decorate(record, index, field_name, value, search_value, match_fields)
|
45
|
+
|
46
|
+
expect(match_fields[index]).not_to be_nil
|
47
|
+
expect(match_fields[index][:search]).to include('name')
|
48
|
+
end
|
49
|
+
|
50
|
+
it 'matches partial strings' do
|
51
|
+
search_value = 'oe'
|
52
|
+
|
53
|
+
described_class.detect_match_and_decorate(record, index, field_name, value, search_value, match_fields)
|
54
|
+
|
55
|
+
expect(match_fields[index][:search]).to include('name')
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
context 'when value does not match search_value' do
|
60
|
+
let(:search_value) { 'jane' }
|
61
|
+
|
62
|
+
it 'does not create match entry' do
|
63
|
+
described_class.detect_match_and_decorate(record, index, field_name, value, search_value, match_fields)
|
64
|
+
|
65
|
+
expect(match_fields).to be_empty
|
66
|
+
end
|
67
|
+
|
68
|
+
it 'does not modify existing match_fields' do
|
69
|
+
existing_data = { id: '456', search: ['other_field'] }
|
70
|
+
match_fields[1] = existing_data.dup
|
71
|
+
|
72
|
+
described_class.detect_match_and_decorate(record, index, field_name, value, search_value, match_fields)
|
73
|
+
|
74
|
+
expect(match_fields[1]).to eq(existing_data)
|
75
|
+
expect(match_fields[index]).to be_nil
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
|
+
context 'when regex matching raises an exception' do
|
80
|
+
let(:search_value) { '[invalid_regex' }
|
81
|
+
|
82
|
+
it 'handles the exception gracefully' do
|
83
|
+
expect {
|
84
|
+
described_class.detect_match_and_decorate(record, index, field_name, value, search_value, match_fields)
|
85
|
+
}.not_to raise_error
|
86
|
+
|
87
|
+
expect(match_fields).to be_empty
|
88
|
+
end
|
89
|
+
end
|
90
|
+
|
91
|
+
context 'with special regex characters in search_value' do
|
92
|
+
let(:search_value) { '.' }
|
93
|
+
let(:value) { 'test.email@domain.com' }
|
94
|
+
|
95
|
+
it 'treats special characters as literal characters' do
|
96
|
+
described_class.detect_match_and_decorate(record, index, field_name, value, search_value, match_fields)
|
97
|
+
|
98
|
+
expect(match_fields[index][:search]).to include('name')
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
102
|
+
|
103
|
+
describe '.decorate_for_search' do
|
104
|
+
let(:search_value) { 'john' }
|
105
|
+
let(:field_names) { ['name', 'email'] }
|
106
|
+
|
107
|
+
context 'with valid records' do
|
108
|
+
let(:records_serialized) do
|
109
|
+
{
|
110
|
+
'data' => [
|
111
|
+
{
|
112
|
+
'type' => 'User',
|
113
|
+
'id' => '1',
|
114
|
+
'attributes' => {
|
115
|
+
'id' => 1,
|
116
|
+
'name' => 'John Doe',
|
117
|
+
'email' => 'john@example.com'
|
118
|
+
},
|
119
|
+
'links' => { 'self' => '/forest/user/1' },
|
120
|
+
'relationships' => {}
|
121
|
+
},
|
122
|
+
{
|
123
|
+
'type' => 'User',
|
124
|
+
'id' => '2',
|
125
|
+
'attributes' => {
|
126
|
+
'id' => 2,
|
127
|
+
'name' => 'Jane Smith',
|
128
|
+
'email' => 'jane@example.com'
|
129
|
+
},
|
130
|
+
'links' => { 'self' => '/forest/user/2' },
|
131
|
+
'relationships' => {}
|
132
|
+
}
|
133
|
+
]
|
134
|
+
}
|
135
|
+
end
|
136
|
+
|
137
|
+
it 'returns match fields for matching records' do
|
138
|
+
result = described_class.decorate_for_search(records_serialized, field_names, search_value)
|
139
|
+
|
140
|
+
expect(result).to eq({
|
141
|
+
0 => {
|
142
|
+
id: '1',
|
143
|
+
search: %w[name email]
|
144
|
+
}
|
145
|
+
})
|
146
|
+
end
|
147
|
+
|
148
|
+
it 'includes ID field in search when ID matches' do
|
149
|
+
search_value = '2'
|
150
|
+
|
151
|
+
result = described_class.decorate_for_search(records_serialized, field_names, search_value)
|
152
|
+
|
153
|
+
expect(result[1][:search]).to include('id')
|
154
|
+
end
|
155
|
+
|
156
|
+
it 'handles multiple matches across different records' do
|
157
|
+
records_serialized['data'][1]['attributes']['name'] = 'Johnny Cash'
|
158
|
+
|
159
|
+
result = described_class.decorate_for_search(records_serialized, field_names, search_value)
|
160
|
+
|
161
|
+
expect(result).to have_key(0)
|
162
|
+
expect(result).to have_key(1)
|
163
|
+
expect(result[0][:search]).to contain_exactly('name', 'email')
|
164
|
+
expect(result[1][:search]).to contain_exactly('name')
|
165
|
+
end
|
166
|
+
|
167
|
+
it 'skips fields with nil values' do
|
168
|
+
records_serialized['data'][0]['attributes']['email'] = nil
|
169
|
+
|
170
|
+
result = described_class.decorate_for_search(records_serialized, field_names, search_value)
|
171
|
+
|
172
|
+
expect(result[0][:search]).to eq(['name'])
|
173
|
+
end
|
174
|
+
|
175
|
+
it 'skips fields with empty string values' do
|
176
|
+
records_serialized['data'][0]['attributes']['email'] = ''
|
177
|
+
|
178
|
+
result = described_class.decorate_for_search(records_serialized, field_names, search_value)
|
179
|
+
|
180
|
+
expect(result[0][:search]).to eq(['name'])
|
181
|
+
end
|
182
|
+
end
|
183
|
+
|
184
|
+
context 'when no matches are found' do
|
185
|
+
let(:records_serialized) do
|
186
|
+
{
|
187
|
+
'data' => [
|
188
|
+
{
|
189
|
+
'type' => 'User',
|
190
|
+
'id' => '1',
|
191
|
+
'attributes' => {
|
192
|
+
'id' => 1,
|
193
|
+
'name' => 'Jane Doe',
|
194
|
+
'email' => 'jane@example.com'
|
195
|
+
},
|
196
|
+
'links' => { 'self' => '/forest/user/1' },
|
197
|
+
'relationships' => {}
|
198
|
+
}
|
199
|
+
]
|
200
|
+
}
|
201
|
+
end
|
202
|
+
|
203
|
+
it 'returns nil' do
|
204
|
+
result = described_class.decorate_for_search(records_serialized, field_names, search_value)
|
205
|
+
|
206
|
+
expect(result).to be_nil
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
210
|
+
context 'with invalid record structure' do
|
211
|
+
let(:records_serialized) do
|
212
|
+
{
|
213
|
+
'data' => [
|
214
|
+
{
|
215
|
+
'type' => 'User',
|
216
|
+
'id' => '1',
|
217
|
+
'links' => { 'self' => '/forest/user/1' },
|
218
|
+
'relationships' => {
|
219
|
+
'claim' => { 'links' => { 'related' => {} } }
|
220
|
+
}
|
221
|
+
}
|
222
|
+
]
|
223
|
+
}
|
224
|
+
end
|
225
|
+
|
226
|
+
it 'raises ArgumentError with descriptive message' do
|
227
|
+
expect {
|
228
|
+
described_class.decorate_for_search(records_serialized, field_names, search_value)
|
229
|
+
}.to raise_error(ArgumentError, "Missing 'attributes' key in record #{records_serialized['data'][0]}")
|
230
|
+
end
|
231
|
+
end
|
232
|
+
end
|
233
|
+
end
|
234
|
+
end
|
@@ -1,6 +1,8 @@
|
|
1
1
|
require 'rails_helper'
|
2
2
|
|
3
3
|
describe 'Requesting Actions routes', :type => :request do
|
4
|
+
subject(:controller) { ForestLiana::ApplicationController.new }
|
5
|
+
|
4
6
|
let(:rendering_id) { 13 }
|
5
7
|
let(:scope_filters) { {'scopes' => {}, 'team' => {'id' => '1', 'name' => 'Operations'}} }
|
6
8
|
|
@@ -11,6 +13,16 @@ describe 'Requesting Actions routes', :type => :request do
|
|
11
13
|
|
12
14
|
ForestLiana::ScopeManager.invalidate_scope_cache(rendering_id)
|
13
15
|
allow(ForestLiana::ScopeManager).to receive(:fetch_scopes).and_return(scope_filters)
|
16
|
+
|
17
|
+
|
18
|
+
allow(ForestAdmin::JSONAPI::Serializer)
|
19
|
+
.to receive(:serialize)
|
20
|
+
.and_return(json_out)
|
21
|
+
|
22
|
+
allow(controller)
|
23
|
+
.to receive(:force_utf8_encoding) do |arg|
|
24
|
+
arg
|
25
|
+
end
|
14
26
|
end
|
15
27
|
|
16
28
|
after(:each) do
|
@@ -38,6 +50,10 @@ describe 'Requesting Actions routes', :type => :request do
|
|
38
50
|
}
|
39
51
|
}
|
40
52
|
|
53
|
+
let(:record) { Island.first }
|
54
|
+
|
55
|
+
let(:json_out){ { 'data' => [] } }
|
56
|
+
|
41
57
|
describe 'hooks' do
|
42
58
|
island = ForestLiana.apimap.find {|collection| collection.name.to_s == ForestLiana.name_for(Island)}
|
43
59
|
|
@@ -504,4 +520,90 @@ describe 'Requesting Actions routes', :type => :request do
|
|
504
520
|
end
|
505
521
|
end
|
506
522
|
end
|
523
|
+
|
524
|
+
describe 'serialize model' do
|
525
|
+
it 'should set is_collection and context option correctly' do
|
526
|
+
options = { field: {"Island" => "id,name"} }
|
527
|
+
|
528
|
+
expect(ForestAdmin::JSONAPI::Serializer)
|
529
|
+
.to receive(:serialize) do |obj, opts|
|
530
|
+
expect(obj).to eq(record)
|
531
|
+
expect(opts[:is_collection]).to be(false)
|
532
|
+
expect(opts[:context]).to include(unoptimized: true)
|
533
|
+
json_out
|
534
|
+
end
|
535
|
+
|
536
|
+
expect(controller).to receive(:force_utf8_encoding).with(json_out)
|
537
|
+
|
538
|
+
res = controller.send(:serialize_model, record, options)
|
539
|
+
expect(res).to eq(json_out)
|
540
|
+
end
|
541
|
+
end
|
542
|
+
|
543
|
+
describe 'serialize models' do
|
544
|
+
let(:records) { Island.all }
|
545
|
+
|
546
|
+
context 'when params fields is not present' do
|
547
|
+
it 'merges unoptimized into context' do
|
548
|
+
options = { field: {"Island" => "id,name"}, params: { searchToEdit: 'true' }, context: { foo: 42 } }
|
549
|
+
|
550
|
+
expect(ForestAdmin::JSONAPI::Serializer)
|
551
|
+
.to receive(:serialize) do |objs, opts|
|
552
|
+
expect(objs).to eq(records)
|
553
|
+
expect(opts[:is_collection]).to be(true)
|
554
|
+
expect(opts[:context]).to include(unoptimized: true, foo: 42)
|
555
|
+
json_out
|
556
|
+
end
|
557
|
+
|
558
|
+
res = controller.send(:serialize_models, records, options)
|
559
|
+
expect(res).to eq(json_out)
|
560
|
+
end
|
561
|
+
end
|
562
|
+
|
563
|
+
context 'when params fields is present' do
|
564
|
+
it 'leaves context unchanged' do
|
565
|
+
options = { params: { fields: 'id' }, context: { foo: 1 } }
|
566
|
+
|
567
|
+
expect(ForestAdmin::JSONAPI::Serializer)
|
568
|
+
.to receive(:serialize) do |_, opts|
|
569
|
+
expect(opts[:context]).to eq(foo: 1)
|
570
|
+
json_out
|
571
|
+
end
|
572
|
+
|
573
|
+
controller.send(:serialize_models, records, options)
|
574
|
+
end
|
575
|
+
end
|
576
|
+
|
577
|
+
context 'when params[:search] is present' do
|
578
|
+
it 'adds meta.decorators via DecorationHelper and concatenates smart fields' do
|
579
|
+
options = { params: { search: 'hello' } }
|
580
|
+
fields_searched = ['existing']
|
581
|
+
collection_double = double('collection', string_smart_fields_names: %w[foo bar])
|
582
|
+
|
583
|
+
allow_any_instance_of(ForestLiana::ApplicationController)
|
584
|
+
.to receive(:get_collection)
|
585
|
+
.and_return(collection_double)
|
586
|
+
|
587
|
+
expect(ForestLiana::DecorationHelper)
|
588
|
+
.to receive(:decorate_for_search) do |json, fields, term|
|
589
|
+
expect(json).to eq(json_out)
|
590
|
+
expect(fields).to match_array(%w[existing foo bar])
|
591
|
+
expect(term).to eq('hello')
|
592
|
+
{ foo: 'bar' }
|
593
|
+
end
|
594
|
+
.and_return({ foo: 'bar' })
|
595
|
+
|
596
|
+
res = controller.send(:serialize_models, records, options, fields_searched)
|
597
|
+
|
598
|
+
expect(res['meta']).to eq(decorators: { foo: 'bar' })
|
599
|
+
expect(fields_searched).to match_array(%w[existing foo bar])
|
600
|
+
end
|
601
|
+
end
|
602
|
+
|
603
|
+
it 'calls force_utf8_encoding with the final JSON' do
|
604
|
+
options = {}
|
605
|
+
expect(controller).to receive(:force_utf8_encoding).with(json_out)
|
606
|
+
controller.send(:serialize_models, records, options)
|
607
|
+
end
|
608
|
+
end
|
507
609
|
end
|
@@ -167,6 +167,52 @@ describe 'Requesting Tree resources', :type => :request do
|
|
167
167
|
end
|
168
168
|
end
|
169
169
|
end
|
170
|
+
|
171
|
+
describe 'csv' do
|
172
|
+
it 'should return CSV with correct headers and data' do
|
173
|
+
params = {
|
174
|
+
fields: { 'Tree' => 'id,name,owner', 'owner' => 'name'},
|
175
|
+
page: { 'number' => '1', 'size' => '10' },
|
176
|
+
searchExtended: '0',
|
177
|
+
sort: '-id',
|
178
|
+
timezone: 'Europe/Paris',
|
179
|
+
header: 'id,name,owner',
|
180
|
+
}
|
181
|
+
get '/forest/Tree.csv', params: params, headers: headers
|
182
|
+
|
183
|
+
expect(response.status).to eq(200)
|
184
|
+
expect(response.headers['Content-Type']).to include('text/csv')
|
185
|
+
expect(response.headers['Content-Disposition']).to include('attachment')
|
186
|
+
|
187
|
+
csv_content = response.body
|
188
|
+
csv_lines = csv_content.split("\n")
|
189
|
+
|
190
|
+
expect(csv_lines.first).to eq(params[:header])
|
191
|
+
expect(csv_lines[1]).to eq('1,Lemon Tree,Michel')
|
192
|
+
end
|
193
|
+
|
194
|
+
it 'returns CSV with only requested fields and ignores optional relation' do
|
195
|
+
params = {
|
196
|
+
fields: { 'Tree' => 'id,name', 'owner' => 'name'},
|
197
|
+
page: { 'number' => '1', 'size' => '10' },
|
198
|
+
searchExtended: '0',
|
199
|
+
sort: '-id',
|
200
|
+
timezone: 'Europe/Paris',
|
201
|
+
header: 'id,name',
|
202
|
+
}
|
203
|
+
get '/forest/Tree.csv', params: params, headers: headers
|
204
|
+
|
205
|
+
expect(response.status).to eq(200)
|
206
|
+
expect(response.headers['Content-Type']).to include('text/csv')
|
207
|
+
expect(response.headers['Content-Disposition']).to include('attachment')
|
208
|
+
|
209
|
+
csv_content = response.body
|
210
|
+
csv_lines = csv_content.split("\n")
|
211
|
+
|
212
|
+
expect(csv_lines.first).to eq(params[:header])
|
213
|
+
expect(csv_lines[1]).to eq('1,Lemon Tree')
|
214
|
+
end
|
215
|
+
end
|
170
216
|
end
|
171
217
|
|
172
218
|
describe 'Requesting User resources', :type => :request do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: forest_liana
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 9.15.
|
4
|
+
version: 9.15.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sandro Munda
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-08-
|
11
|
+
date: 2025-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -404,6 +404,7 @@ files:
|
|
404
404
|
- spec/dummy/lib/forest_liana/collections/user.rb
|
405
405
|
- spec/dummy/lib/forest_liana/controllers/owner_trees_controller.rb
|
406
406
|
- spec/dummy/lib/forest_liana/controllers/owners_controller.rb
|
407
|
+
- spec/helpers/forest_liana/decoration_helper_spec.rb
|
407
408
|
- spec/helpers/forest_liana/query_helper_spec.rb
|
408
409
|
- spec/helpers/forest_liana/schema_helper_spec.rb
|
409
410
|
- spec/lib/forest_liana/bootstrapper_spec.rb
|
@@ -710,6 +711,7 @@ test_files:
|
|
710
711
|
- spec/dummy/lib/forest_liana/collections/user.rb
|
711
712
|
- spec/dummy/lib/forest_liana/controllers/owner_trees_controller.rb
|
712
713
|
- spec/dummy/lib/forest_liana/controllers/owners_controller.rb
|
714
|
+
- spec/helpers/forest_liana/decoration_helper_spec.rb
|
713
715
|
- spec/helpers/forest_liana/query_helper_spec.rb
|
714
716
|
- spec/helpers/forest_liana/schema_helper_spec.rb
|
715
717
|
- spec/lib/forest_liana/bootstrapper_spec.rb
|