locomotivecms_coal 1.0.0.pre.alpha.3 → 1.0.0.pre.beta.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +7 -7
- data/README.md +60 -3
- data/lib/locomotive/coal/client.rb +10 -3
- data/lib/locomotive/coal/error.rb +4 -3
- data/lib/locomotive/coal/resources/concerns/request.rb +3 -3
- data/lib/locomotive/coal/resources/content_entries.rb +9 -0
- data/lib/locomotive/coal/resources/current_site.rb +25 -0
- data/lib/locomotive/coal/resources/memberships.rb +13 -0
- data/lib/locomotive/coal/resources/pages.rb +1 -1
- data/lib/locomotive/coal/resources/snippets.rb +8 -0
- data/lib/locomotive/coal/version.rb +1 -1
- data/lib/locomotive/coal.rb +3 -0
- data/locomotivecms_coal.gemspec +2 -2
- data/spec/fixtures/coal_cassettes/client.yml +117 -160
- data/spec/fixtures/coal_cassettes/content_assets.yml +47 -71
- data/spec/fixtures/coal_cassettes/content_entries.yml +510 -388
- data/spec/fixtures/coal_cassettes/content_types.yml +128 -196
- data/spec/fixtures/coal_cassettes/current_site.yml +124 -0
- data/spec/fixtures/coal_cassettes/memberships.yml +203 -0
- data/spec/fixtures/coal_cassettes/my_account.yml +40 -62
- data/spec/fixtures/coal_cassettes/pages.yml +82 -108
- data/spec/fixtures/coal_cassettes/sites.yml +43 -59
- data/spec/fixtures/coal_cassettes/snippets.yml +48 -70
- data/spec/fixtures/coal_cassettes/theme_assets.yml +46 -70
- data/spec/fixtures/coal_cassettes/token.yml +25 -31
- data/spec/fixtures/coal_cassettes/translations.yml +46 -70
- data/spec/fixtures/coal_cassettes/version.yml +18 -28
- data/spec/integration/resources/content_entries_spec.rb +11 -0
- data/spec/integration/resources/current_site_spec.rb +22 -0
- data/spec/integration/resources/memberships_spec.rb +39 -0
- metadata +16 -6
@@ -22,40 +22,34 @@ http_interactions:
|
|
22
22
|
headers:
|
23
23
|
Content-Type:
|
24
24
|
- application/json
|
25
|
-
Content-Length:
|
26
|
-
- '32'
|
27
25
|
Etag:
|
28
|
-
- W/"
|
26
|
+
- W/"157eb61d395f237526d11950bbc5a1fa"
|
29
27
|
Cache-Control:
|
30
28
|
- max-age=0, private, must-revalidate
|
31
29
|
X-Request-Id:
|
32
|
-
-
|
30
|
+
- bfd77ca7-e1f3-4406-95c6-2e2009144b9a
|
33
31
|
X-Runtime:
|
34
|
-
- '0.
|
35
|
-
|
36
|
-
-
|
37
|
-
Server:
|
38
|
-
- thin
|
32
|
+
- '0.014879'
|
33
|
+
Content-Length:
|
34
|
+
- '32'
|
39
35
|
body:
|
40
36
|
encoding: UTF-8
|
41
|
-
string: '{"token":"
|
37
|
+
string: '{"token":"v6XDp282UyPDeM6DgA-S"}'
|
42
38
|
http_version:
|
43
|
-
recorded_at:
|
39
|
+
recorded_at: Wed, 29 Jul 2015 15:36:36 GMT
|
44
40
|
- request:
|
45
41
|
method: get
|
46
|
-
uri: http://localhost:3000/locomotive/sample/api/v3/translations.json
|
42
|
+
uri: http://localhost:3000/locomotive/sample/api/v3/translations.json?auth_token=v6XDp282UyPDeM6DgA-S
|
47
43
|
body:
|
48
|
-
encoding:
|
49
|
-
string:
|
44
|
+
encoding: US-ASCII
|
45
|
+
string: ''
|
50
46
|
headers:
|
51
47
|
Accept:
|
52
48
|
- application/json
|
53
49
|
X-Locomotive-Account-Email:
|
54
50
|
- admin@locomotivecms.com
|
55
51
|
X-Locomotive-Account-Token:
|
56
|
-
-
|
57
|
-
Content-Type:
|
58
|
-
- application/x-www-form-urlencoded
|
52
|
+
- v6XDp282UyPDeM6DgA-S
|
59
53
|
Accept-Encoding:
|
60
54
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
61
55
|
User-Agent:
|
@@ -67,38 +61,34 @@ http_interactions:
|
|
67
61
|
headers:
|
68
62
|
Content-Type:
|
69
63
|
- application/json
|
70
|
-
Content-Length:
|
71
|
-
- '2'
|
72
64
|
Etag:
|
73
65
|
- W/"d751713988987e9331980363e24189ce"
|
74
66
|
Cache-Control:
|
75
67
|
- max-age=0, private, must-revalidate
|
76
68
|
X-Request-Id:
|
77
|
-
-
|
69
|
+
- 0d0b6c41-5e1d-4d7f-9b90-ec6800b8f425
|
78
70
|
X-Runtime:
|
79
|
-
- '0.
|
80
|
-
|
81
|
-
-
|
82
|
-
Server:
|
83
|
-
- thin
|
71
|
+
- '0.021079'
|
72
|
+
Content-Length:
|
73
|
+
- '2'
|
84
74
|
body:
|
85
75
|
encoding: UTF-8
|
86
76
|
string: "[]"
|
87
77
|
http_version:
|
88
|
-
recorded_at:
|
78
|
+
recorded_at: Wed, 29 Jul 2015 15:36:37 GMT
|
89
79
|
- request:
|
90
80
|
method: post
|
91
81
|
uri: http://localhost:3000/locomotive/sample/api/v3/translations.json
|
92
82
|
body:
|
93
83
|
encoding: UTF-8
|
94
|
-
string: auth_token=
|
84
|
+
string: auth_token=v6XDp282UyPDeM6DgA-S&translation%5Bkey%5D=hello&translation%5Bvalues%5D%5Ben%5D=Hello+world&translation%5Bvalues%5D%5Bfr%5D=Bonjour+le+monde
|
95
85
|
headers:
|
96
86
|
Accept:
|
97
87
|
- application/json
|
98
88
|
X-Locomotive-Account-Email:
|
99
89
|
- admin@locomotivecms.com
|
100
90
|
X-Locomotive-Account-Token:
|
101
|
-
-
|
91
|
+
- v6XDp282UyPDeM6DgA-S
|
102
92
|
Content-Type:
|
103
93
|
- application/x-www-form-urlencoded
|
104
94
|
Accept-Encoding:
|
@@ -112,39 +102,35 @@ http_interactions:
|
|
112
102
|
headers:
|
113
103
|
Content-Type:
|
114
104
|
- application/json
|
115
|
-
Content-Length:
|
116
|
-
- '174'
|
117
105
|
Etag:
|
118
|
-
- W/"
|
106
|
+
- W/"25e34f6239cc82c9d0e7783a9b65c96c"
|
119
107
|
Cache-Control:
|
120
108
|
- max-age=0, private, must-revalidate
|
121
109
|
X-Request-Id:
|
122
|
-
-
|
110
|
+
- 5b07b608-f994-40c4-bb6d-154089b4d6bb
|
123
111
|
X-Runtime:
|
124
|
-
- '0.
|
125
|
-
|
126
|
-
-
|
127
|
-
Server:
|
128
|
-
- thin
|
112
|
+
- '0.056103'
|
113
|
+
Content-Length:
|
114
|
+
- '174'
|
129
115
|
body:
|
130
116
|
encoding: UTF-8
|
131
|
-
string: '{"_id":"
|
117
|
+
string: '{"_id":"55b8f305446964641a00000d","created_at":"2015-07-29T15:36:37Z","updated_at":"2015-07-29T15:36:37Z","key":"hello","values":{"en":"Hello
|
132
118
|
world","fr":"Bonjour le monde"}}'
|
133
119
|
http_version:
|
134
|
-
recorded_at:
|
120
|
+
recorded_at: Wed, 29 Jul 2015 15:36:37 GMT
|
135
121
|
- request:
|
136
122
|
method: put
|
137
|
-
uri: http://localhost:3000/locomotive/sample/api/v3/translations/
|
123
|
+
uri: http://localhost:3000/locomotive/sample/api/v3/translations/55b8f305446964641a00000d.json
|
138
124
|
body:
|
139
125
|
encoding: UTF-8
|
140
|
-
string: auth_token=
|
126
|
+
string: auth_token=v6XDp282UyPDeM6DgA-S&translation%5Bvalues%5D%5Ben%5D=Hello+world%21&translation%5Bvalues%5D%5Bfr%5D=Bonjour+le+monde%21
|
141
127
|
headers:
|
142
128
|
Accept:
|
143
129
|
- application/json
|
144
130
|
X-Locomotive-Account-Email:
|
145
131
|
- admin@locomotivecms.com
|
146
132
|
X-Locomotive-Account-Token:
|
147
|
-
-
|
133
|
+
- v6XDp282UyPDeM6DgA-S
|
148
134
|
Content-Type:
|
149
135
|
- application/x-www-form-urlencoded
|
150
136
|
Accept-Encoding:
|
@@ -158,41 +144,35 @@ http_interactions:
|
|
158
144
|
headers:
|
159
145
|
Content-Type:
|
160
146
|
- application/json
|
161
|
-
Content-Length:
|
162
|
-
- '176'
|
163
147
|
Etag:
|
164
|
-
- W/"
|
148
|
+
- W/"a17907521589fcde6a02c2a2aeef3c22"
|
165
149
|
Cache-Control:
|
166
150
|
- max-age=0, private, must-revalidate
|
167
151
|
X-Request-Id:
|
168
|
-
-
|
152
|
+
- a7da3d5f-fa8a-4388-9ec4-ded693a867a1
|
169
153
|
X-Runtime:
|
170
|
-
- '0.
|
171
|
-
|
172
|
-
-
|
173
|
-
Server:
|
174
|
-
- thin
|
154
|
+
- '0.035701'
|
155
|
+
Content-Length:
|
156
|
+
- '176'
|
175
157
|
body:
|
176
158
|
encoding: UTF-8
|
177
|
-
string: '{"_id":"
|
159
|
+
string: '{"_id":"55b8f305446964641a00000d","created_at":"2015-07-29T15:36:37Z","updated_at":"2015-07-29T15:36:37Z","key":"hello","values":{"en":"Hello
|
178
160
|
world!","fr":"Bonjour le monde!"}}'
|
179
161
|
http_version:
|
180
|
-
recorded_at:
|
162
|
+
recorded_at: Wed, 29 Jul 2015 15:36:37 GMT
|
181
163
|
- request:
|
182
164
|
method: delete
|
183
|
-
uri: http://localhost:3000/locomotive/sample/api/v3/translations/
|
165
|
+
uri: http://localhost:3000/locomotive/sample/api/v3/translations/55b8f305446964641a00000d.json?auth_token=v6XDp282UyPDeM6DgA-S
|
184
166
|
body:
|
185
|
-
encoding:
|
186
|
-
string:
|
167
|
+
encoding: US-ASCII
|
168
|
+
string: ''
|
187
169
|
headers:
|
188
170
|
Accept:
|
189
171
|
- application/json
|
190
172
|
X-Locomotive-Account-Email:
|
191
173
|
- admin@locomotivecms.com
|
192
174
|
X-Locomotive-Account-Token:
|
193
|
-
-
|
194
|
-
Content-Type:
|
195
|
-
- application/x-www-form-urlencoded
|
175
|
+
- v6XDp282UyPDeM6DgA-S
|
196
176
|
Accept-Encoding:
|
197
177
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
198
178
|
User-Agent:
|
@@ -204,24 +184,20 @@ http_interactions:
|
|
204
184
|
headers:
|
205
185
|
Content-Type:
|
206
186
|
- application/json
|
207
|
-
Content-Length:
|
208
|
-
- '176'
|
209
187
|
Etag:
|
210
|
-
- W/"
|
188
|
+
- W/"a17907521589fcde6a02c2a2aeef3c22"
|
211
189
|
Cache-Control:
|
212
190
|
- max-age=0, private, must-revalidate
|
213
191
|
X-Request-Id:
|
214
|
-
-
|
192
|
+
- 71624530-2458-4115-83bd-c6ba1ad4c8c2
|
215
193
|
X-Runtime:
|
216
|
-
- '0.
|
217
|
-
|
218
|
-
-
|
219
|
-
Server:
|
220
|
-
- thin
|
194
|
+
- '0.028890'
|
195
|
+
Content-Length:
|
196
|
+
- '176'
|
221
197
|
body:
|
222
198
|
encoding: UTF-8
|
223
|
-
string: '{"_id":"
|
199
|
+
string: '{"_id":"55b8f305446964641a00000d","created_at":"2015-07-29T15:36:37Z","updated_at":"2015-07-29T15:36:37Z","key":"hello","values":{"en":"Hello
|
224
200
|
world!","fr":"Bonjour le monde!"}}'
|
225
201
|
http_version:
|
226
|
-
recorded_at:
|
202
|
+
recorded_at: Wed, 29 Jul 2015 15:36:37 GMT
|
227
203
|
recorded_with: VCR 2.9.3
|
@@ -22,40 +22,34 @@ http_interactions:
|
|
22
22
|
headers:
|
23
23
|
Content-Type:
|
24
24
|
- application/json
|
25
|
-
Content-Length:
|
26
|
-
- '32'
|
27
25
|
Etag:
|
28
|
-
- W/"
|
26
|
+
- W/"157eb61d395f237526d11950bbc5a1fa"
|
29
27
|
Cache-Control:
|
30
28
|
- max-age=0, private, must-revalidate
|
31
29
|
X-Request-Id:
|
32
|
-
-
|
30
|
+
- 63cd92bf-fd95-426b-9a46-01dcdd11e1fe
|
33
31
|
X-Runtime:
|
34
|
-
- '0.
|
35
|
-
|
36
|
-
-
|
37
|
-
Server:
|
38
|
-
- thin
|
32
|
+
- '0.017370'
|
33
|
+
Content-Length:
|
34
|
+
- '32'
|
39
35
|
body:
|
40
36
|
encoding: UTF-8
|
41
|
-
string: '{"token":"
|
37
|
+
string: '{"token":"v6XDp282UyPDeM6DgA-S"}'
|
42
38
|
http_version:
|
43
|
-
recorded_at:
|
39
|
+
recorded_at: Wed, 29 Jul 2015 15:36:34 GMT
|
44
40
|
- request:
|
45
41
|
method: get
|
46
|
-
uri: http://localhost:3000/locomotive/sample/api/v3/version.json
|
42
|
+
uri: http://localhost:3000/locomotive/sample/api/v3/version.json?auth_token=v6XDp282UyPDeM6DgA-S&email=admin@locomotivecms.com&token=v6XDp282UyPDeM6DgA-S
|
47
43
|
body:
|
48
|
-
encoding:
|
49
|
-
string:
|
44
|
+
encoding: US-ASCII
|
45
|
+
string: ''
|
50
46
|
headers:
|
51
47
|
Accept:
|
52
48
|
- application/json
|
53
49
|
X-Locomotive-Account-Email:
|
54
50
|
- admin@locomotivecms.com
|
55
51
|
X-Locomotive-Account-Token:
|
56
|
-
-
|
57
|
-
Content-Type:
|
58
|
-
- application/x-www-form-urlencoded
|
52
|
+
- v6XDp282UyPDeM6DgA-S
|
59
53
|
Accept-Encoding:
|
60
54
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
61
55
|
User-Agent:
|
@@ -67,23 +61,19 @@ http_interactions:
|
|
67
61
|
headers:
|
68
62
|
Content-Type:
|
69
63
|
- application/json
|
70
|
-
Content-Length:
|
71
|
-
- '18'
|
72
64
|
Etag:
|
73
|
-
- W/"
|
65
|
+
- W/"4f482497f0c1e5f67e0c6bc908159a8b"
|
74
66
|
Cache-Control:
|
75
67
|
- max-age=0, private, must-revalidate
|
76
68
|
X-Request-Id:
|
77
|
-
-
|
69
|
+
- 153fa796-69d1-402e-a613-9d7f74abc1bd
|
78
70
|
X-Runtime:
|
79
|
-
- '0.
|
80
|
-
|
81
|
-
-
|
82
|
-
Server:
|
83
|
-
- thin
|
71
|
+
- '0.014926'
|
72
|
+
Content-Length:
|
73
|
+
- '26'
|
84
74
|
body:
|
85
75
|
encoding: UTF-8
|
86
|
-
string: '{"engine":"3.0.0"}'
|
76
|
+
string: '{"engine":"3.0.0-alpha.3"}'
|
87
77
|
http_version:
|
88
|
-
recorded_at:
|
78
|
+
recorded_at: Wed, 29 Jul 2015 15:36:34 GMT
|
89
79
|
recorded_with: VCR 2.9.3
|
@@ -55,6 +55,17 @@ describe Locomotive::Coal::Resources::ContentEntries, order: :defined do
|
|
55
55
|
|
56
56
|
end
|
57
57
|
|
58
|
+
describe '#each' do
|
59
|
+
|
60
|
+
subject { [].tap { |list| entries.each { |e| list << e } } }
|
61
|
+
|
62
|
+
before { entries.create(title: 'Hello world'); entries.create(title: 'Lorem ipsum') }
|
63
|
+
after { ['hello-world', 'lorem-ipsum'].each { |slug| entries.destroy(slug) } }
|
64
|
+
|
65
|
+
it { expect(subject.size).to eq 2 }
|
66
|
+
|
67
|
+
end
|
68
|
+
|
58
69
|
describe '#update' do
|
59
70
|
|
60
71
|
let(:entry) { entries.create(title: 'Random title') }
|
@@ -0,0 +1,22 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Locomotive::Coal::Resources::CurrentSite do
|
4
|
+
|
5
|
+
before { VCR.insert_cassette 'current_site', record: :new_episodes, match_requests_on: [:method, :query, :body] }
|
6
|
+
after { VCR.eject_cassette }
|
7
|
+
|
8
|
+
let(:uri) { TEST_SITE_API_V3_URI }
|
9
|
+
let(:credentials) { { email: TEST_API_EMAIL, token: api_token } }
|
10
|
+
let(:resource) { described_class.new(uri, credentials) }
|
11
|
+
|
12
|
+
describe '#get' do
|
13
|
+
subject { resource.get }
|
14
|
+
it { expect(subject.name).not_to eq nil }
|
15
|
+
end
|
16
|
+
|
17
|
+
describe '#update' do
|
18
|
+
subject { resource.update(name: 'John Doe') }
|
19
|
+
it { expect(subject._id).not_to eq nil }
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Locomotive::Coal::Resources::Memberships, order: :defined do
|
4
|
+
|
5
|
+
before { VCR.insert_cassette 'memberships', record: :new_episodes }
|
6
|
+
after { VCR.eject_cassette }
|
7
|
+
|
8
|
+
let(:uri) { TEST_SITE_API_V3_URI }
|
9
|
+
let(:credentials) { { email: TEST_API_EMAIL, token: api_token } }
|
10
|
+
let(:memberships) { described_class.new(uri, credentials) }
|
11
|
+
let(:new_account_email) { 'new_admin@locomotivecms.com' }
|
12
|
+
|
13
|
+
describe '#all' do
|
14
|
+
subject { memberships.all }
|
15
|
+
it { expect(subject).not_to eq nil }
|
16
|
+
end
|
17
|
+
|
18
|
+
describe '#create' do
|
19
|
+
subject { create_membership }
|
20
|
+
it { expect(subject._id).not_to eq nil }
|
21
|
+
end
|
22
|
+
|
23
|
+
describe '#update' do
|
24
|
+
let(:membership) { memberships.all.detect { |s| s.email == new_account_email } || create_membership }
|
25
|
+
subject { memberships.update(membership._id, role: 'author') }
|
26
|
+
it { expect(subject.role).to eq 'author' }
|
27
|
+
end
|
28
|
+
|
29
|
+
describe '#destroy' do
|
30
|
+
let(:membership) { memberships.all.detect { |s| s.email == new_account_email } || create_membership }
|
31
|
+
subject { memberships.destroy(membership._id) }
|
32
|
+
it { expect(subject._id).to_not eq nil }
|
33
|
+
end
|
34
|
+
|
35
|
+
def create_membership
|
36
|
+
memberships.create(role: 'Admin', account_email: new_account_email)
|
37
|
+
end
|
38
|
+
|
39
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: locomotivecms_coal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.pre.
|
4
|
+
version: 1.0.0.pre.beta.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Didier Lafforgue
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-07-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -58,28 +58,28 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
61
|
+
version: 0.10.0
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.
|
68
|
+
version: 0.10.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: activesupport
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 4.2.
|
75
|
+
version: 4.2.3
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 4.2.
|
82
|
+
version: 4.2.3
|
83
83
|
description: The LocomotiveCMS Coal is the API ruby client for the LocomotiveCMS platform
|
84
84
|
email:
|
85
85
|
- did@locomotivecms.com
|
@@ -107,7 +107,9 @@ files:
|
|
107
107
|
- lib/locomotive/coal/resources/content_assets.rb
|
108
108
|
- lib/locomotive/coal/resources/content_entries.rb
|
109
109
|
- lib/locomotive/coal/resources/content_types.rb
|
110
|
+
- lib/locomotive/coal/resources/current_site.rb
|
110
111
|
- lib/locomotive/coal/resources/engine_version.rb
|
112
|
+
- lib/locomotive/coal/resources/memberships.rb
|
111
113
|
- lib/locomotive/coal/resources/my_account.rb
|
112
114
|
- lib/locomotive/coal/resources/pages.rb
|
113
115
|
- lib/locomotive/coal/resources/sites.rb
|
@@ -124,6 +126,8 @@ files:
|
|
124
126
|
- spec/fixtures/coal_cassettes/content_assets.yml
|
125
127
|
- spec/fixtures/coal_cassettes/content_entries.yml
|
126
128
|
- spec/fixtures/coal_cassettes/content_types.yml
|
129
|
+
- spec/fixtures/coal_cassettes/current_site.yml
|
130
|
+
- spec/fixtures/coal_cassettes/memberships.yml
|
127
131
|
- spec/fixtures/coal_cassettes/my_account.yml
|
128
132
|
- spec/fixtures/coal_cassettes/pages.yml
|
129
133
|
- spec/fixtures/coal_cassettes/sites.yml
|
@@ -136,7 +140,9 @@ files:
|
|
136
140
|
- spec/integration/resources/content_assets_spec.rb
|
137
141
|
- spec/integration/resources/content_entries_spec.rb
|
138
142
|
- spec/integration/resources/content_types_spec.rb
|
143
|
+
- spec/integration/resources/current_site_spec.rb
|
139
144
|
- spec/integration/resources/engine_version_spec.rb
|
145
|
+
- spec/integration/resources/memberships_spec.rb
|
140
146
|
- spec/integration/resources/my_account_spec.rb
|
141
147
|
- spec/integration/resources/pages_spec.rb
|
142
148
|
- spec/integration/resources/sites_spec.rb
|
@@ -185,6 +191,8 @@ test_files:
|
|
185
191
|
- spec/fixtures/coal_cassettes/content_assets.yml
|
186
192
|
- spec/fixtures/coal_cassettes/content_entries.yml
|
187
193
|
- spec/fixtures/coal_cassettes/content_types.yml
|
194
|
+
- spec/fixtures/coal_cassettes/current_site.yml
|
195
|
+
- spec/fixtures/coal_cassettes/memberships.yml
|
188
196
|
- spec/fixtures/coal_cassettes/my_account.yml
|
189
197
|
- spec/fixtures/coal_cassettes/pages.yml
|
190
198
|
- spec/fixtures/coal_cassettes/sites.yml
|
@@ -197,7 +205,9 @@ test_files:
|
|
197
205
|
- spec/integration/resources/content_assets_spec.rb
|
198
206
|
- spec/integration/resources/content_entries_spec.rb
|
199
207
|
- spec/integration/resources/content_types_spec.rb
|
208
|
+
- spec/integration/resources/current_site_spec.rb
|
200
209
|
- spec/integration/resources/engine_version_spec.rb
|
210
|
+
- spec/integration/resources/memberships_spec.rb
|
201
211
|
- spec/integration/resources/my_account_spec.rb
|
202
212
|
- spec/integration/resources/pages_spec.rb
|
203
213
|
- spec/integration/resources/sites_spec.rb
|