shopify_app_whitelist 1.1.0 → 1.1.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: af6a0fd9fbecbfd79c5a76265280c7063686ac2d
4
- data.tar.gz: abc7011981281dc4300f11901d9d62ac839a79a8
3
+ metadata.gz: 6c8003c7388499362d50d33437086ede928e4239
4
+ data.tar.gz: 711c467edc9d8b544daa173f07290138a0b6e2b9
5
5
  SHA512:
6
- metadata.gz: 7b19c86e2db6fbfa6a199e1f3ba0403458693dafca02fb076b82c532c27c9b5e02ae8c5bc6d2b6f81abea9aa184c68611b8afac2311eeef5336c956a9ce19624
7
- data.tar.gz: d535813afe730f0ee74c807d299915fb86029de8d7149c044362e69883ba7718b9ef4109c9b0fd822826bbc961db1f5873eb1f8ed666537faf72e96b1645bde5
6
+ metadata.gz: 2823098dfe4bc9fce047d0b41f89dab8faa0d883ee1d13e30b1ba6afac48c4c9c46ed84f46b3feb37f49415c7c2d5be5d15086699837bdc810eb911b811ad772
7
+ data.tar.gz: fabc3854b6e5b069b875f9ffb55af6f959a11ac790591127806e742bc5fb13f756a9a619da772a98081057fd8a145e1811dc2379dc0849404685612b559e1669
data/LICENSE CHANGED
File without changes
data/README.md CHANGED
@@ -1,21 +1,21 @@
1
1
  # shopify_app_whitelist
2
2
 
3
- [![Build Status](https://secure.travis-ci.org/tyler-king/shopify_app_whitelist.svg?branch=master)](http://travis-ci.org/tyler-king/shopify_app_whitelist) [![Docs](https://inch-ci.org/github/tyler-king/shopify_app_whitelist.svg?branch=master)](https://inch-ci.org/github/tyler-king/shopify_app_whitelist)
3
+ [![Build Status](https://secure.travis-ci.org/ohmybrew/shopify_app_whitelist.svg?branch=master)](http://travis-ci.org/ohmybrew/shopify_app_whitelist) [![codecov](https://codecov.io/gh/ohmybrew/shopify_app_whitelist/branch/master/graph/badge.svg)](https://codecov.io/gh/ohmybrew/shopify_app_whitelist) [![Docs](https://inch-ci.org/github/ohmybrew/shopify_app_whitelist.svg?branch=master)](https://inch-ci.org/github/ohmybrew/shopify_app_whitelist) [![Gem Version](https://badge.fury.io/rb/shopify_app_whitelist.svg)](https://badge.fury.io/rb/shopify_app_whitelist)
4
4
 
5
5
  This Gem extends [shopify_app](https://github.com/Shopify/shopify_app) to add a whitelist option so only defined shops can access your app for installation.
6
6
 
7
- # Compatibility
7
+ ## Compatibility
8
8
 
9
9
  Rails 4 and Rails 5 are supported. Appraisal Gem is used to test against both versions.
10
10
 
11
- # Installation
11
+ ## Installation
12
12
 
13
13
  *Assuming shopify_app is already installed*
14
14
 
15
15
  1. Add `gem 'shopify_app_whitelist'` to your Gemfile
16
16
  2. Run `bundle install`
17
17
 
18
- # Configuration
18
+ ## Configuration
19
19
 
20
20
  1. Open your existing `config/initializers/shopify_app.rb` file
21
21
  2. Add `whitelist` and `whitelist_redirect` options
@@ -25,17 +25,17 @@ Example:
25
25
  ```ruby
26
26
  ShopifyApp.configure do |config|
27
27
  # ...
28
- config.whitelist = ['allowed.myshopify.com', 'another-allowed-shop.myshopify.com']
28
+ config.whitelist = %w(allowed.myshopify.com another-allowed-shop.myshopify.com)
29
29
  config.whitelist_redirect = '/404.html'
30
30
  # ...
31
31
  end
32
32
  ```
33
33
 
34
- # Testing
34
+ ## Testing
35
35
 
36
36
  This Gem is tested. See `test/` or run `bundle rake test` after installing development dependencies.
37
37
 
38
- # How It Works
38
+ ## How It Works
39
39
 
40
40
  This Gem adds two configuration options to `ShopifyApp::Configuration` automatically. Using a Railite, it also automatically injects a controller concern into `ApplicationController`.
41
41
 
data/Rakefile CHANGED
File without changes
File without changes
@@ -22,7 +22,7 @@ module ShopifyAppWhitelist
22
22
  # controller is the sessions controller and action is in the list
23
23
  if whitelist.present? && shop.present? && controller_match && action_match
24
24
  # Shop is not allowed, redirect to defined location
25
- redirect_to(whitelist_redirect) unless whitelist.include?(params[:shop])
25
+ redirect_to(whitelist_redirect) unless whitelist.include?(shop)
26
26
  end
27
27
  end
28
28
  end
File without changes
@@ -1,4 +1,4 @@
1
1
  module ShopifyAppWhitelist
2
2
  # Gem version
3
- VERSION = '1.1.0'.freeze
3
+ VERSION = '1.1.1'.freeze
4
4
  end
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,2809 +1,24 @@
1
-  (0.1ms) begin transaction
2
- -----------------------------------
3
- ShopifyAppWhitelistTest: test_truth
4
- -----------------------------------
5
-  (0.0ms) rollback transaction
6
-  (0.1ms) begin transaction
7
- ---------------------------------------------------------------------------------------------------------
8
- ShopifyAppWhitelist::SessionsControllerTest: test_not-allowed_shop_should_redirect_to_configured_location
9
- ---------------------------------------------------------------------------------------------------------
10
-  (0.1ms) rollback transaction
11
-  (0.1ms) begin transaction
12
- --------------------------------------------------------------------
13
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_methods
14
- --------------------------------------------------------------------
15
-  (0.1ms) rollback transaction
16
-  (0.0ms) begin transaction
17
- ---------------------------------------------------------------------------------------
18
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_redirect_to_login
19
- ---------------------------------------------------------------------------------------
20
-  (0.0ms) rollback transaction
21
-  (0.1ms) begin transaction
22
- ---------------------------------------------------------------------------------------
23
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_redirect_to_login
24
- ---------------------------------------------------------------------------------------
25
-  (0.1ms) rollback transaction
26
-  (0.1ms) begin transaction
27
- ---------------------------------------------------------------------------------------------------------
28
- ShopifyAppWhitelist::SessionsControllerTest: test_not-allowed_shop_should_redirect_to_configured_location
29
- ---------------------------------------------------------------------------------------------------------
30
-  (0.1ms) rollback transaction
31
-  (0.1ms) begin transaction
32
- --------------------------------------------------------------------
33
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_methods
34
- --------------------------------------------------------------------
35
-  (0.1ms) rollback transaction
36
-  (0.1ms) begin transaction
37
- --------------------------------------------------------------------
38
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_methods
39
- --------------------------------------------------------------------
40
-  (0.1ms) rollback transaction
41
-  (0.1ms) begin transaction
42
- --------------------------------------------------------------------
43
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_methods
44
- --------------------------------------------------------------------
45
- Processing by ShopifyApp::SessionsController#create as HTML
46
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
47
- Redirected to http://test.host/404.html
48
- Filter chain halted as :whitelist_check rendered or redirected
49
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
50
-  (0.1ms) rollback transaction
51
-  (0.1ms) begin transaction
52
- --------------------------------------------------------------------
53
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_methods
54
- --------------------------------------------------------------------
55
- Processing by ShopifyApp::SessionsController#create as HTML
56
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
57
- Redirected to http://test.host/404.html
58
- Filter chain halted as :whitelist_check rendered or redirected
59
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
60
-  (0.1ms) rollback transaction
61
-  (0.1ms) begin transaction
62
- --------------------------------------------------------------------
63
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_methods
64
- --------------------------------------------------------------------
65
- Processing by ShopifyApp::SessionsController#create as HTML
66
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
67
- Redirected to http://test.host/404.html
68
- Filter chain halted as :whitelist_check rendered or redirected
69
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
70
-  (0.1ms) rollback transaction
71
-  (0.1ms) begin transaction
72
- --------------------------------------------------------------------
73
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_methods
74
- --------------------------------------------------------------------
75
- Processing by ShopifyApp::SessionsController#create as HTML
76
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
77
- Redirected to http://test.host/404.html
78
- Filter chain halted as :whitelist_check rendered or redirected
79
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
80
-  (0.1ms) rollback transaction
81
-  (0.1ms) begin transaction
82
- --------------------------------------------------------------------
83
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_methods
84
- --------------------------------------------------------------------
85
- Processing by ShopifyApp::SessionsController#create as HTML
86
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
87
- Redirected to http://test.host/404.html
88
- Filter chain halted as :whitelist_check rendered or redirected
89
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
90
-  (0.1ms) rollback transaction
91
-  (0.1ms) begin transaction
92
- --------------------------------------------------------------------
93
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_methods
94
- --------------------------------------------------------------------
95
- Processing by ShopifyApp::SessionsController#create as HTML
96
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
97
- Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
98
-  (0.1ms) rollback transaction
99
-  (0.1ms) begin transaction
100
- --------------------------------------------------------------------
101
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_methods
102
- --------------------------------------------------------------------
103
- Processing by ShopifyApp::SessionsController#create as HTML
104
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
105
- Redirected to http://test.host/404.html
106
- Filter chain halted as :whitelist_check rendered or redirected
107
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
108
-  (0.1ms) rollback transaction
109
-  (0.2ms) begin transaction
110
- --------------------------------------------------------------------
111
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_methods
112
- --------------------------------------------------------------------
113
- Processing by ShopifyApp::SessionsController#create as HTML
114
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
115
- Redirected to http://test.host/404.html
116
- Filter chain halted as :whitelist_check rendered or redirected
117
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
118
-  (0.1ms) rollback transaction
119
-  (0.1ms) begin transaction
120
- --------------------------------------------------------------------
121
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_methods
122
- --------------------------------------------------------------------
123
- Processing by ShopifyApp::SessionsController#create as HTML
124
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
125
- Redirected to http://test.host/404.html
126
- Filter chain halted as :whitelist_check rendered or redirected
127
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
128
-  (0.1ms) rollback transaction
129
-  (0.1ms) begin transaction
130
- --------------------------------------------------------------------
131
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_methods
132
- --------------------------------------------------------------------
133
- Processing by ShopifyApp::SessionsController#create as HTML
134
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
135
- Redirected to http://test.host/404.html
136
- Filter chain halted as :whitelist_check rendered or redirected
137
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
138
-  (0.1ms) rollback transaction
139
-  (0.1ms) begin transaction
140
- ---------------------------------------------------------------------------------------------------------
141
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
142
- ---------------------------------------------------------------------------------------------------------
143
- Processing by ShopifyApp::SessionsController#create as HTML
144
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
145
- Redirected to http://test.host/404.html
146
- Filter chain halted as :whitelist_check rendered or redirected
147
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
148
-  (0.1ms) rollback transaction
149
-  (0.1ms) begin transaction
150
- ---------------------------------------------------------------------------------------------------------
151
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
152
- ---------------------------------------------------------------------------------------------------------
153
- Processing by ShopifyApp::SessionsController#create as HTML
154
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
155
- Redirected to http://test.host/404.html
156
- Filter chain halted as :whitelist_check rendered or redirected
157
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
158
-  (0.1ms) rollback transaction
159
-  (0.1ms) begin transaction
160
- ---------------------------------------------------------------------------------------------------------
161
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
162
- ---------------------------------------------------------------------------------------------------------
163
- Processing by ShopifyApp::SessionsController#create as HTML
164
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
165
- Redirected to http://test.host/404.html
166
- Filter chain halted as :whitelist_check rendered or redirected
167
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
168
-  (0.1ms) rollback transaction
169
-  (0.1ms) begin transaction
170
- ---------------------------------------------------------------------------------------------------------
171
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
172
- ---------------------------------------------------------------------------------------------------------
173
- Processing by ShopifyApp::SessionsController#create as HTML
174
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
175
- Redirected to http://test.host/404.html
176
- Filter chain halted as :whitelist_check rendered or redirected
177
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
178
-  (0.1ms) rollback transaction
179
-  (0.1ms) begin transaction
180
- ---------------------------------------------------------------------------------------
181
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
182
- ---------------------------------------------------------------------------------------
183
- Processing by ShopifyApp::SessionsController#create as HTML
184
- Parameters: {"shop"=>"allowed.myshopify.com"}
185
- Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms)
186
-  (0.1ms) rollback transaction
187
-  (0.1ms) begin transaction
188
- ---------------------------------------------------------------------------------------
189
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
190
- ---------------------------------------------------------------------------------------
191
- Processing by ShopifyApp::SessionsController#create as HTML
192
- Parameters: {"shop"=>"allowed.myshopify.com"}
193
- Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms)
194
-  (0.1ms) rollback transaction
195
-  (0.1ms) begin transaction
196
- ---------------------------------------------------------------------------------------------------------
197
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
198
- ---------------------------------------------------------------------------------------------------------
199
- Processing by ShopifyApp::SessionsController#create as HTML
200
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
201
- Redirected to http://test.host/404.html
202
- Filter chain halted as :whitelist_check rendered or redirected
203
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
204
-  (0.1ms) rollback transaction
205
-  (0.1ms) begin transaction
206
- ---------------------------------------------------------------------------------------
207
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
208
- ---------------------------------------------------------------------------------------
209
- Processing by ShopifyApp::SessionsController#create as HTML
210
- Parameters: {"shop"=>"allowed.myshopify.com"}
211
- Rendered inline template (1.9ms)
212
- Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.0ms)
213
-  (0.1ms) rollback transaction
214
-  (0.1ms) begin transaction
215
- ---------------------------------------------------------------------------------------------------------
216
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
217
- ---------------------------------------------------------------------------------------------------------
218
- Processing by ShopifyApp::SessionsController#create as HTML
219
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
220
- Redirected to http://test.host/404.html
221
- Filter chain halted as :whitelist_check rendered or redirected
222
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
223
-  (0.1ms) rollback transaction
224
-  (0.1ms) begin transaction
225
- ---------------------------------------------------------------------------------------------------------
226
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
227
- ---------------------------------------------------------------------------------------------------------
228
- Processing by ShopifyApp::SessionsController#create as HTML
229
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
230
- Redirected to http://test.host/404.html
231
- Filter chain halted as :whitelist_check rendered or redirected
232
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
233
-  (0.1ms) rollback transaction
234
-  (0.1ms) begin transaction
235
- ---------------------------------------------------------------------------------------
236
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
237
- ---------------------------------------------------------------------------------------
238
- Processing by ShopifyApp::SessionsController#create as HTML
239
- Parameters: {"shop"=>"allowed.myshopify.com"}
240
- Rendered inline template (1.2ms)
241
- Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.0ms)
242
-  (0.1ms) rollback transaction
243
-  (0.1ms) begin transaction
244
- ---------------------------------------------------------------------------------------
245
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
246
- ---------------------------------------------------------------------------------------
247
- Processing by ShopifyApp::SessionsController#create as HTML
248
- Parameters: {"shop"=>"allowed.myshopify.com"}
249
- Rendered inline template (1.5ms)
250
- Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 0.0ms)
251
-  (0.1ms) rollback transaction
252
-  (0.1ms) begin transaction
253
- ---------------------------------------------------------------------------------------------------------
254
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
255
- ---------------------------------------------------------------------------------------------------------
256
- Processing by ShopifyApp::SessionsController#create as HTML
257
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
258
- Redirected to http://test.host/404.html
259
- Filter chain halted as :whitelist_check rendered or redirected
260
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
261
-  (0.1ms) rollback transaction
262
-  (0.1ms) begin transaction
263
- ---------------------------------------------------------------------------------------
264
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
265
- ---------------------------------------------------------------------------------------
266
- Processing by ShopifyApp::SessionsController#create as HTML
267
- Parameters: {"shop"=>"allowed.myshopify.com"}
268
- Rendered inline template (1.1ms)
269
- Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.0ms)
270
-  (0.1ms) rollback transaction
271
-  (0.1ms) begin transaction
272
- ---------------------------------------------------------------------------------------------------------
273
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
274
- ---------------------------------------------------------------------------------------------------------
275
- Processing by ShopifyApp::SessionsController#create as HTML
276
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
277
- Redirected to http://test.host/404.html
278
- Filter chain halted as :whitelist_check rendered or redirected
279
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
280
-  (0.1ms) rollback transaction
281
-  (0.1ms) begin transaction
282
- ---------------------------------------------------------------------------------------
283
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
284
- ---------------------------------------------------------------------------------------
285
- Processing by ShopifyApp::SessionsController#create as HTML
286
- Parameters: {"shop"=>"allowed.myshopify.com"}
287
- Rendered inline template (1.2ms)
288
- Completed 200 OK in 11ms (Views: 8.1ms | ActiveRecord: 0.0ms)
289
-  (0.1ms) rollback transaction
290
-  (0.1ms) begin transaction
291
- ---------------------------------------------------------------------------------------------------------
292
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
293
- ---------------------------------------------------------------------------------------------------------
294
- Processing by ShopifyApp::SessionsController#create as HTML
295
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
296
- Redirected to http://test.host/404.html
297
- Filter chain halted as :whitelist_check rendered or redirected
298
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
299
-  (0.1ms) rollback transaction
300
-  (0.1ms) begin transaction
301
- ---------------------------------------------------------------------------------------
302
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
303
- ---------------------------------------------------------------------------------------
304
- Processing by ShopifyApp::SessionsController#create as HTML
305
- Parameters: {"shop"=>"allowed.myshopify.com"}
306
- Rendered inline template (1.2ms)
307
- Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.0ms)
308
-  (0.1ms) rollback transaction
309
-  (0.1ms) begin transaction
310
- ----------------------------------------------------------------------------------
311
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
312
- ----------------------------------------------------------------------------------
313
-  (0.0ms) rollback transaction
314
-  (0.0ms) begin transaction
315
- ---------------------------------------------------------------------------------------------------------
316
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
317
- ---------------------------------------------------------------------------------------------------------
318
- Processing by ShopifyApp::SessionsController#create as HTML
319
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
320
- Redirected to http://test.host/404.html
321
- Filter chain halted as :whitelist_check rendered or redirected
322
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
323
-  (0.1ms) rollback transaction
324
-  (0.1ms) begin transaction
325
- ---------------------------------------------------------------------------------------------------------
326
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
327
- ---------------------------------------------------------------------------------------------------------
328
- Processing by ShopifyApp::SessionsController#create as HTML
329
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
330
- Redirected to http://test.host/404.html
331
- Filter chain halted as :whitelist_check rendered or redirected
332
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
333
-  (0.1ms) rollback transaction
334
-  (0.1ms) begin transaction
335
- ---------------------------------------------------------------------------------------
336
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
337
- ---------------------------------------------------------------------------------------
338
- Processing by ShopifyApp::SessionsController#create as HTML
339
- Parameters: {"shop"=>"allowed.myshopify.com"}
340
- Rendered inline template (1.2ms)
341
- Completed 200 OK in 10ms (Views: 8.3ms | ActiveRecord: 0.0ms)
342
-  (0.1ms) rollback transaction
343
-  (0.1ms) begin transaction
344
- ----------------------------------------------------------------------------------
345
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
346
- ----------------------------------------------------------------------------------
347
- Processing by ShopifyApp::SessionsController#create as HTML
348
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
349
- Redirected to http://test.host/404.html
350
- Filter chain halted as :whitelist_check rendered or redirected
351
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
352
- Processing by ShopifyApp::SessionsController#new as HTML
353
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
354
- Redirected to http://test.host/404.html
355
- Filter chain halted as :whitelist_check rendered or redirected
356
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
357
- Processing by ShopifyApp::SessionsController#callback as HTML
358
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
359
- Redirected to http://test.host/404.html
360
- Filter chain halted as :whitelist_check rendered or redirected
361
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
362
-  (0.1ms) rollback transaction
363
-  (0.1ms) begin transaction
364
- ---------------------------------------------------------------------------------------------------------
365
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
366
- ---------------------------------------------------------------------------------------------------------
367
- Processing by ShopifyApp::SessionsController#create as HTML
368
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
369
- Redirected to http://test.host/404.html
370
- Filter chain halted as :whitelist_check rendered or redirected
371
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
372
-  (0.1ms) rollback transaction
373
-  (0.1ms) begin transaction
374
- ---------------------------------------------------------------------------------------
375
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
376
- ---------------------------------------------------------------------------------------
377
- Processing by ShopifyApp::SessionsController#create as HTML
378
- Parameters: {"shop"=>"allowed.myshopify.com"}
379
- Rendered inline template (1.1ms)
380
- Completed 200 OK in 9ms (Views: 7.2ms | ActiveRecord: 0.0ms)
381
-  (0.1ms) rollback transaction
382
-  (0.1ms) begin transaction
383
- ----------------------------------------------------------------------------------
384
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
385
- ----------------------------------------------------------------------------------
386
-  (0.0ms) rollback transaction
387
-  (0.1ms) begin transaction
388
- ---------------------------------------------------------------------------------------------------------
389
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
390
- ---------------------------------------------------------------------------------------------------------
391
- Processing by ShopifyApp::SessionsController#create as HTML
392
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
393
- Redirected to http://test.host/404.html
394
- Filter chain halted as :whitelist_check rendered or redirected
395
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
396
-  (0.1ms) rollback transaction
397
-  (0.1ms) begin transaction
398
- ---------------------------------------------------------------------------------------
399
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
400
- ---------------------------------------------------------------------------------------
401
- Processing by ShopifyApp::SessionsController#create as HTML
402
- Parameters: {"shop"=>"allowed.myshopify.com"}
403
- Rendered inline template (1.1ms)
404
- Completed 200 OK in 9ms (Views: 7.5ms | ActiveRecord: 0.0ms)
405
-  (0.1ms) rollback transaction
406
-  (0.1ms) begin transaction
407
- ----------------------------------------------------------------------------------
408
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
409
- ----------------------------------------------------------------------------------
410
- Processing by ShopifyApp::SessionsController#create as HTML
411
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
412
- Redirected to http://test.host/404.html
413
- Filter chain halted as :whitelist_check rendered or redirected
414
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
415
- Processing by ShopifyApp::SessionsController#new as HTML
416
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
417
- Redirected to http://test.host/404.html
418
- Filter chain halted as :whitelist_check rendered or redirected
419
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
420
- Processing by ShopifyApp::SessionsController#callback as HTML
421
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
422
- Redirected to http://test.host/404.html
423
- Filter chain halted as :whitelist_check rendered or redirected
424
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
425
-  (0.1ms) rollback transaction
426
-  (0.1ms) begin transaction
427
- ---------------------------------------------------------------------------------------
428
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
429
- ---------------------------------------------------------------------------------------
430
- Processing by ShopifyApp::SessionsController#create as HTML
431
- Parameters: {"shop"=>"allowed.myshopify.com"}
432
- Rendered inline template (1.5ms)
433
- Completed 200 OK in 11ms (Views: 8.6ms | ActiveRecord: 0.0ms)
434
-  (0.1ms) rollback transaction
435
-  (0.1ms) begin transaction
436
- ---------------------------------------------------------------------------------------------------------
437
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
438
- ---------------------------------------------------------------------------------------------------------
439
- Processing by ShopifyApp::SessionsController#create as HTML
440
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
441
- Redirected to http://test.host/404.html
442
- Filter chain halted as :whitelist_check rendered or redirected
443
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
444
-  (0.2ms) rollback transaction
445
-  (0.1ms) begin transaction
446
- ----------------------------------------------------------------------------------
447
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
448
- ----------------------------------------------------------------------------------
449
- Processing by ShopifyApp::SessionsController#create as HTML
450
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
451
- Redirected to http://test.host/404.html
452
- Filter chain halted as :whitelist_check rendered or redirected
453
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
454
- Processing by ShopifyApp::SessionsController#new as HTML
455
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
456
- Redirected to http://test.host/404.html
457
- Filter chain halted as :whitelist_check rendered or redirected
458
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
459
- Processing by ShopifyApp::SessionsController#callback as HTML
460
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
461
- Redirected to http://test.host/404.html
462
- Filter chain halted as :whitelist_check rendered or redirected
463
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
464
-  (0.2ms) rollback transaction
465
-  (0.1ms) begin transaction
466
- ---------------------------------------------------------------------------------------------------------
467
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
468
- ---------------------------------------------------------------------------------------------------------
469
- Processing by ShopifyApp::SessionsController#create as HTML
470
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
471
- Redirected to http://test.host/404.html
472
- Filter chain halted as :whitelist_check rendered or redirected
473
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
474
-  (0.1ms) rollback transaction
475
-  (0.1ms) begin transaction
476
- ---------------------------------------------------------------------------------------
477
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
478
- ---------------------------------------------------------------------------------------
479
- Processing by ShopifyApp::SessionsController#create as HTML
480
- Parameters: {"shop"=>"allowed.myshopify.com"}
481
- Rendered inline template (1.5ms)
482
- Completed 200 OK in 11ms (Views: 9.5ms | ActiveRecord: 0.0ms)
483
-  (0.1ms) rollback transaction
484
-  (0.1ms) begin transaction
485
- ----------------------------------------------------------------------------------
486
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
487
- ----------------------------------------------------------------------------------
488
- Processing by ShopifyApp::SessionsController#create as HTML
489
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
490
- Redirected to http://test.host/404.html
491
- Filter chain halted as :whitelist_check rendered or redirected
492
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
493
- Processing by ShopifyApp::SessionsController#new as HTML
494
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
495
- Redirected to http://test.host/404.html
496
- Filter chain halted as :whitelist_check rendered or redirected
497
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
498
- Processing by ShopifyApp::SessionsController#callback as HTML
499
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
500
- Redirected to http://test.host/404.html
501
- Filter chain halted as :whitelist_check rendered or redirected
502
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
503
-  (0.1ms) rollback transaction
504
-  (0.1ms) begin transaction
505
- ---------------------------------------------------------------------------------------
506
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
507
- ---------------------------------------------------------------------------------------
508
- Processing by ShopifyApp::SessionsController#create as HTML
509
- Parameters: {"shop"=>"allowed.myshopify.com"}
510
- Rendered inline template (1.4ms)
511
- Completed 200 OK in 11ms (Views: 8.6ms | ActiveRecord: 0.0ms)
512
-  (0.1ms) rollback transaction
513
-  (0.1ms) begin transaction
514
- ---------------------------------------------------------------------------------------
515
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
516
- ---------------------------------------------------------------------------------------
517
- Processing by ShopifyApp::SessionsController#new as HTML
518
- Parameters: {"shop"=>nil}
519
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (0.7ms)
520
- Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)
521
-  (0.1ms) rollback transaction
522
-  (0.1ms) begin transaction
523
- ---------------------------------------------------------------------------------------------------------
524
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
525
- ---------------------------------------------------------------------------------------------------------
526
- Processing by ShopifyApp::SessionsController#create as HTML
527
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
528
- Redirected to http://test.host/404.html
529
- Filter chain halted as :whitelist_check rendered or redirected
530
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
531
-  (0.1ms) rollback transaction
532
-  (0.1ms) begin transaction
533
- ----------------------------------------------------------------------------------
534
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
535
- ----------------------------------------------------------------------------------
536
- Processing by ShopifyApp::SessionsController#create as HTML
537
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
538
- Redirected to http://test.host/404.html
539
- Filter chain halted as :whitelist_check rendered or redirected
540
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
541
- Processing by ShopifyApp::SessionsController#new as HTML
542
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
543
- Redirected to http://test.host/404.html
544
- Filter chain halted as :whitelist_check rendered or redirected
545
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
546
- Processing by ShopifyApp::SessionsController#callback as HTML
547
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
548
- Redirected to http://test.host/404.html
549
- Filter chain halted as :whitelist_check rendered or redirected
550
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
551
-  (0.1ms) rollback transaction
552
-  (0.1ms) begin transaction
553
- ----------------------------------------------------------------------------------
554
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
555
- ----------------------------------------------------------------------------------
556
- Processing by ShopifyApp::SessionsController#create as HTML
557
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
558
- Redirected to http://test.host/404.html
559
- Filter chain halted as :whitelist_check rendered or redirected
560
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
561
- Processing by ShopifyApp::SessionsController#new as HTML
562
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
563
- Redirected to http://test.host/404.html
564
- Filter chain halted as :whitelist_check rendered or redirected
565
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
566
- Processing by ShopifyApp::SessionsController#callback as HTML
567
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
568
- Redirected to http://test.host/404.html
569
- Filter chain halted as :whitelist_check rendered or redirected
570
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
571
-  (0.1ms) rollback transaction
572
-  (0.1ms) begin transaction
573
- ---------------------------------------------------------------------------------------
574
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
575
- ---------------------------------------------------------------------------------------
576
- Processing by ShopifyApp::SessionsController#create as HTML
577
- Parameters: {"shop"=>"allowed.myshopify.com"}
578
- Rendered inline template (1.2ms)
579
- Completed 200 OK in 10ms (Views: 8.6ms | ActiveRecord: 0.0ms)
580
-  (0.1ms) rollback transaction
581
-  (0.1ms) begin transaction
582
- ---------------------------------------------------------------------------------------
583
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
584
- ---------------------------------------------------------------------------------------
585
- Processing by ShopifyApp::SessionsController#new as HTML
586
- Parameters: {"shop"=>nil}
587
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (0.8ms)
588
- Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms)
589
-  (0.1ms) rollback transaction
590
-  (0.1ms) begin transaction
591
- ---------------------------------------------------------------------------------------------------------
592
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
593
- ---------------------------------------------------------------------------------------------------------
594
- Processing by ShopifyApp::SessionsController#create as HTML
595
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
596
- Redirected to http://test.host/404.html
597
- Filter chain halted as :whitelist_check rendered or redirected
598
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
599
-  (0.1ms) rollback transaction
600
-  (0.1ms) begin transaction
601
- ----------------------------------------
602
- ShopifyAppWhitelistTest: test_is_working
603
- ----------------------------------------
604
-  (0.1ms) rollback transaction
605
-  (0.1ms) begin transaction
606
- ---------------------------------------------------------------------------------------
607
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
608
- ---------------------------------------------------------------------------------------
609
- Processing by ShopifyApp::SessionsController#new as HTML
610
- Parameters: {"shop"=>nil}
611
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (1.6ms)
612
- Completed 200 OK in 12ms (Views: 11.3ms | ActiveRecord: 0.0ms)
613
-  (0.1ms) rollback transaction
614
-  (0.1ms) begin transaction
615
- ---------------------------------------------------------------------------------------------------------
616
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
617
- ---------------------------------------------------------------------------------------------------------
618
- Processing by ShopifyApp::SessionsController#create as HTML
619
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
620
- Redirected to http://test.host/404.html
621
- Filter chain halted as :whitelist_check rendered or redirected
622
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
623
-  (0.1ms) rollback transaction
624
-  (0.1ms) begin transaction
625
- ----------------------------------------------------------------------------------
626
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
627
- ----------------------------------------------------------------------------------
628
- Processing by ShopifyApp::SessionsController#create as HTML
629
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
630
- Redirected to http://test.host/404.html
631
- Filter chain halted as :whitelist_check rendered or redirected
632
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
633
- Processing by ShopifyApp::SessionsController#new as HTML
634
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
635
- Redirected to http://test.host/404.html
636
- Filter chain halted as :whitelist_check rendered or redirected
637
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
638
- Processing by ShopifyApp::SessionsController#callback as HTML
639
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
640
- Redirected to http://test.host/404.html
641
- Filter chain halted as :whitelist_check rendered or redirected
642
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
643
-  (0.1ms) rollback transaction
644
-  (0.1ms) begin transaction
645
- ---------------------------------------------------------------------------------------
646
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
647
- ---------------------------------------------------------------------------------------
648
- Processing by ShopifyApp::SessionsController#create as HTML
649
- Parameters: {"shop"=>"allowed.myshopify.com"}
650
- Rendered inline template (0.5ms)
651
- Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.0ms)
652
-  (0.1ms) rollback transaction
653
-  (0.1ms) begin transaction
654
- ----------------------------------------
655
- ShopifyAppWhitelistTest: test_is_working
656
- ----------------------------------------
657
-  (0.1ms) rollback transaction
658
-  (0.1ms) begin transaction
659
- ---------------------------------------------------------------------------------------
660
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
661
- ---------------------------------------------------------------------------------------
662
- Processing by ShopifyApp::SessionsController#create as HTML
663
- Parameters: {"shop"=>"allowed.myshopify.com"}
664
- Rendered inline template (1.3ms)
665
- Completed 200 OK in 10ms (Views: 8.3ms | ActiveRecord: 0.0ms)
666
-  (0.1ms) rollback transaction
667
-  (0.1ms) begin transaction
668
- ----------------------------------------------------------------------------------
669
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
670
- ----------------------------------------------------------------------------------
671
- Processing by ShopifyApp::SessionsController#create as HTML
672
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
673
- Redirected to http://test.host/404.html
674
- Filter chain halted as :whitelist_check rendered or redirected
675
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
676
- Processing by ShopifyApp::SessionsController#new as HTML
677
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
678
- Redirected to http://test.host/404.html
679
- Filter chain halted as :whitelist_check rendered or redirected
680
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
681
- Processing by ShopifyApp::SessionsController#callback as HTML
682
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
683
- Redirected to http://test.host/404.html
684
- Filter chain halted as :whitelist_check rendered or redirected
685
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
686
-  (0.1ms) rollback transaction
687
-  (0.1ms) begin transaction
688
- ---------------------------------------------------------------------------------------
689
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
690
- ---------------------------------------------------------------------------------------
691
- Processing by ShopifyApp::SessionsController#new as HTML
692
- Parameters: {"shop"=>nil}
693
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (0.7ms)
694
- Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)
695
-  (0.1ms) rollback transaction
696
-  (0.0ms) begin transaction
697
- ---------------------------------------------------------------------------------------------------------
698
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
699
- ---------------------------------------------------------------------------------------------------------
700
- Processing by ShopifyApp::SessionsController#create as HTML
701
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
702
- Redirected to http://test.host/404.html
703
- Filter chain halted as :whitelist_check rendered or redirected
704
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
705
-  (0.1ms) rollback transaction
706
-  (0.1ms) begin transaction
707
- ---------------------------------------------------------------------------------------
708
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
709
- ---------------------------------------------------------------------------------------
710
- Processing by ShopifyApp::SessionsController#new as HTML
711
- Parameters: {"shop"=>nil}
712
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (1.6ms)
713
- Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 0.0ms)
714
-  (0.1ms) rollback transaction
715
-  (0.1ms) begin transaction
716
- ----------------------------------------------------------------------------------
717
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
718
- ----------------------------------------------------------------------------------
719
- Processing by ShopifyApp::SessionsController#create as HTML
720
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
721
- Redirected to http://test.host/404.html
722
- Filter chain halted as :whitelist_check rendered or redirected
723
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
724
- Processing by ShopifyApp::SessionsController#new as HTML
725
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
726
- Redirected to http://test.host/404.html
727
- Filter chain halted as :whitelist_check rendered or redirected
728
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
729
- Processing by ShopifyApp::SessionsController#callback as HTML
730
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
731
- Redirected to http://test.host/404.html
732
- Filter chain halted as :whitelist_check rendered or redirected
733
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
734
-  (0.1ms) rollback transaction
735
-  (0.1ms) begin transaction
736
- ---------------------------------------------------------------------------------------
737
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
738
- ---------------------------------------------------------------------------------------
739
- Processing by ShopifyApp::SessionsController#create as HTML
740
- Parameters: {"shop"=>"allowed.myshopify.com"}
741
- Rendered inline template (0.3ms)
742
- Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.0ms)
743
-  (0.1ms) rollback transaction
744
-  (0.1ms) begin transaction
745
- ---------------------------------------------------------------------------------------------------------
746
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
747
- ---------------------------------------------------------------------------------------------------------
748
- Processing by ShopifyApp::SessionsController#create as HTML
749
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
750
- Redirected to http://test.host/404.html
751
- Filter chain halted as :whitelist_check rendered or redirected
752
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
753
-  (0.1ms) rollback transaction
754
-  (0.2ms) begin transaction
755
- -----------------------------------------------------------------------
756
- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
757
- -----------------------------------------------------------------------
758
-  (0.1ms) rollback transaction
759
-  (0.1ms) begin transaction
760
- ----------------------------------------
761
- ShopifyAppWhitelistTest: test_is_working
762
- ----------------------------------------
763
-  (0.0ms) rollback transaction
764
-  (0.1ms) begin transaction
765
- -----------------------------------------------------------------------
766
- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
767
- -----------------------------------------------------------------------
768
-  (0.1ms) rollback transaction
769
-  (0.0ms) begin transaction
770
- ----------------------------------------
771
- ShopifyAppWhitelistTest: test_is_working
772
- ----------------------------------------
773
-  (0.0ms) rollback transaction
774
-  (0.0ms) begin transaction
775
- ---------------------------------------------------------------------------------------
776
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
777
- ---------------------------------------------------------------------------------------
778
- Processing by ShopifyApp::SessionsController#new as HTML
779
- Parameters: {"shop"=>nil}
780
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (1.6ms)
781
- Completed 200 OK in 11ms (Views: 10.2ms | ActiveRecord: 0.0ms)
782
-  (0.1ms) rollback transaction
783
-  (0.2ms) begin transaction
784
- ----------------------------------------------------------------------------------
785
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
786
- ----------------------------------------------------------------------------------
787
- Processing by ShopifyApp::SessionsController#create as HTML
788
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
789
- Redirected to http://test.host/404.html
790
- Filter chain halted as :whitelist_check rendered or redirected
791
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
792
- Processing by ShopifyApp::SessionsController#new as HTML
793
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
794
- Redirected to http://test.host/404.html
795
- Filter chain halted as :whitelist_check rendered or redirected
796
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
797
- Processing by ShopifyApp::SessionsController#callback as HTML
798
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
799
- Redirected to http://test.host/404.html
800
- Filter chain halted as :whitelist_check rendered or redirected
801
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
802
-  (0.1ms) rollback transaction
803
-  (0.1ms) begin transaction
804
- ---------------------------------------------------------------------------------------
805
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
806
- ---------------------------------------------------------------------------------------
807
- Processing by ShopifyApp::SessionsController#create as HTML
808
- Parameters: {"shop"=>"allowed.myshopify.com"}
809
- Rendered inline template (0.3ms)
810
- Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.0ms)
811
-  (0.1ms) rollback transaction
812
-  (0.1ms) begin transaction
813
- ---------------------------------------------------------------------------------------------------------
814
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
815
- ---------------------------------------------------------------------------------------------------------
816
- Processing by ShopifyApp::SessionsController#create as HTML
817
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
818
- Redirected to http://test.host/404.html
819
- Filter chain halted as :whitelist_check rendered or redirected
820
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
821
-  (0.1ms) rollback transaction
822
-  (0.2ms) begin transaction
823
- -----------------------------------------------------------------------
824
- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
825
- -----------------------------------------------------------------------
826
-  (0.1ms) rollback transaction
827
-  (0.1ms) begin transaction
828
- ----------------------------------------
829
- ShopifyAppWhitelistTest: test_is_working
830
- ----------------------------------------
831
-  (0.0ms) rollback transaction
832
-  (0.0ms) begin transaction
833
- ---------------------------------------------------------------------------------------
834
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
835
- ---------------------------------------------------------------------------------------
836
- Processing by ShopifyApp::SessionsController#new as HTML
837
- Parameters: {"shop"=>nil}
838
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (2.3ms)
839
- Completed 200 OK in 15ms (Views: 14.7ms | ActiveRecord: 0.0ms)
840
-  (0.1ms) rollback transaction
841
-  (0.1ms) begin transaction
842
- ---------------------------------------------------------------------------------------
843
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
844
- ---------------------------------------------------------------------------------------
845
- Processing by ShopifyApp::SessionsController#create as HTML
846
- Parameters: {"shop"=>"allowed.myshopify.com"}
847
- Rendered inline template (0.3ms)
848
- Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.0ms)
849
-  (0.1ms) rollback transaction
850
-  (0.0ms) begin transaction
851
- ---------------------------------------------------------------------------------------------------------
852
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
853
- ---------------------------------------------------------------------------------------------------------
854
- Processing by ShopifyApp::SessionsController#create as HTML
855
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
856
- Redirected to http://test.host/404.html
857
- Filter chain halted as :whitelist_check rendered or redirected
858
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
859
-  (0.1ms) rollback transaction
860
-  (0.1ms) begin transaction
861
- ----------------------------------------------------------------------------------
862
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
863
- ----------------------------------------------------------------------------------
864
- Processing by ShopifyApp::SessionsController#create as HTML
865
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
866
- Redirected to http://test.host/404.html
867
- Filter chain halted as :whitelist_check rendered or redirected
868
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
869
- Processing by ShopifyApp::SessionsController#new as HTML
870
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
871
- Redirected to http://test.host/404.html
872
- Filter chain halted as :whitelist_check rendered or redirected
873
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
874
- Processing by ShopifyApp::SessionsController#callback as HTML
875
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
876
- Redirected to http://test.host/404.html
877
- Filter chain halted as :whitelist_check rendered or redirected
878
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
879
-  (0.1ms) rollback transaction
880
-  (0.1ms) begin transaction
881
- ---------------------------------------------------------------------------------------
882
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
883
- ---------------------------------------------------------------------------------------
884
- Processing by ShopifyApp::SessionsController#new as HTML
885
- Parameters: {"shop"=>nil}
886
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (1.7ms)
887
- Completed 200 OK in 11ms (Views: 10.9ms | ActiveRecord: 0.0ms)
888
-  (0.1ms) rollback transaction
889
-  (0.2ms) begin transaction
890
- ---------------------------------------------------------------------------------------
891
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
892
- ---------------------------------------------------------------------------------------
893
- Processing by ShopifyApp::SessionsController#create as HTML
894
- Parameters: {"shop"=>"allowed.myshopify.com"}
895
- Rendered inline template (0.3ms)
896
- Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
897
-  (0.1ms) rollback transaction
898
-  (0.1ms) begin transaction
899
- ---------------------------------------------------------------------------------------------------------
900
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
901
- ---------------------------------------------------------------------------------------------------------
902
- Processing by ShopifyApp::SessionsController#create as HTML
903
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
904
- Redirected to http://test.host/404.html
905
- Filter chain halted as :whitelist_check rendered or redirected
906
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
907
-  (0.1ms) rollback transaction
908
-  (0.1ms) begin transaction
909
- ----------------------------------------------------------------------------------
910
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
911
- ----------------------------------------------------------------------------------
912
- Processing by ShopifyApp::SessionsController#create as HTML
913
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
914
- Redirected to http://test.host/404.html
915
- Filter chain halted as :whitelist_check rendered or redirected
916
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
917
- Processing by ShopifyApp::SessionsController#new as HTML
918
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
919
- Redirected to http://test.host/404.html
920
- Filter chain halted as :whitelist_check rendered or redirected
921
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
922
- Processing by ShopifyApp::SessionsController#callback as HTML
923
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
924
- Redirected to http://test.host/404.html
925
- Filter chain halted as :whitelist_check rendered or redirected
926
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
927
-  (0.1ms) rollback transaction
928
-  (0.1ms) begin transaction
929
- -----------------------------------------------------------------------
930
- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
931
- -----------------------------------------------------------------------
932
-  (0.1ms) rollback transaction
933
-  (0.1ms) begin transaction
934
- ----------------------------------------
935
- ShopifyAppWhitelistTest: test_is_working
936
- ----------------------------------------
937
-  (0.1ms) rollback transaction
938
-  (0.1ms) begin transaction
939
- -----------------------------------------------------------------------
940
- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
941
- -----------------------------------------------------------------------
942
-  (0.1ms) rollback transaction
943
-  (0.1ms) begin transaction
944
- ----------------------------------------
945
- ShopifyAppWhitelistTest: test_is_working
946
- ----------------------------------------
947
-  (0.0ms) rollback transaction
948
-  (0.1ms) begin transaction
949
- ----------------------------------------------------------------------------------
950
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
951
- ----------------------------------------------------------------------------------
952
- Processing by ShopifyApp::SessionsController#create as HTML
953
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
954
- Redirected to http://test.host/404.html
955
- Filter chain halted as :whitelist_check rendered or redirected
956
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
957
- Processing by ShopifyApp::SessionsController#new as HTML
958
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
959
- Redirected to http://test.host/404.html
960
- Filter chain halted as :whitelist_check rendered or redirected
961
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
962
- Processing by ShopifyApp::SessionsController#callback as HTML
963
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
964
- Redirected to http://test.host/404.html
965
- Filter chain halted as :whitelist_check rendered or redirected
966
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
967
-  (0.1ms) rollback transaction
968
-  (0.1ms) begin transaction
969
- ---------------------------------------------------------------------------------------
970
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
971
- ---------------------------------------------------------------------------------------
972
- Processing by ShopifyApp::SessionsController#create as HTML
973
- Parameters: {"shop"=>"allowed.myshopify.com"}
974
- Rendered inline template (1.1ms)
975
- Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.0ms)
976
-  (0.1ms) rollback transaction
977
-  (0.1ms) begin transaction
978
- ---------------------------------------------------------------------------------------
979
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
980
- ---------------------------------------------------------------------------------------
981
- Processing by ShopifyApp::SessionsController#new as HTML
982
- Parameters: {"shop"=>nil}
983
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (0.7ms)
984
- Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)
985
-  (0.1ms) rollback transaction
986
-  (0.0ms) begin transaction
987
- ---------------------------------------------------------------------------------------------------------
988
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
989
- ---------------------------------------------------------------------------------------------------------
990
- Processing by ShopifyApp::SessionsController#create as HTML
991
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
992
- Redirected to http://test.host/404.html
993
- Filter chain halted as :whitelist_check rendered or redirected
994
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
995
-  (0.1ms) rollback transaction
996
-  (0.1ms) begin transaction
997
- -----------------------------------------------------------------------
998
- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
999
- -----------------------------------------------------------------------
1000
-  (0.1ms) rollback transaction
1001
-  (0.1ms) begin transaction
1002
- ----------------------------------------
1003
- ShopifyAppWhitelistTest: test_is_working
1004
- ----------------------------------------
1005
-  (0.0ms) rollback transaction
1006
-  (0.0ms) begin transaction
1007
- ---------------------------------------------------------------------------------------------------------
1008
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
1009
- ---------------------------------------------------------------------------------------------------------
1010
- Processing by ShopifyApp::SessionsController#create as HTML
1011
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1012
- Redirected to http://test.host/404.html
1013
- Filter chain halted as :whitelist_check rendered or redirected
1014
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
1015
-  (0.1ms) rollback transaction
1016
-  (0.1ms) begin transaction
1017
- ----------------------------------------------------------------------------------
1018
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
1019
- ----------------------------------------------------------------------------------
1020
- Processing by ShopifyApp::SessionsController#create as HTML
1021
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1022
- Redirected to http://test.host/404.html
1023
- Filter chain halted as :whitelist_check rendered or redirected
1024
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1025
- Processing by ShopifyApp::SessionsController#new as HTML
1026
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1027
- Redirected to http://test.host/404.html
1028
- Filter chain halted as :whitelist_check rendered or redirected
1029
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1030
- Processing by ShopifyApp::SessionsController#callback as HTML
1031
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1032
- Redirected to http://test.host/404.html
1033
- Filter chain halted as :whitelist_check rendered or redirected
1034
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1035
-  (0.1ms) rollback transaction
1036
-  (0.1ms) begin transaction
1037
- ---------------------------------------------------------------------------------------
1038
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
1039
- ---------------------------------------------------------------------------------------
1040
- Processing by ShopifyApp::SessionsController#create as HTML
1041
- Parameters: {"shop"=>"allowed.myshopify.com"}
1042
- Rendered inline template (2.6ms)
1043
- Completed 200 OK in 11ms (Views: 9.7ms | ActiveRecord: 0.0ms)
1044
-  (0.1ms) rollback transaction
1045
-  (0.1ms) begin transaction
1046
- ---------------------------------------------------------------------------------------
1047
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
1048
- ---------------------------------------------------------------------------------------
1049
- Processing by ShopifyApp::SessionsController#new as HTML
1050
- Parameters: {"shop"=>nil}
1051
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (1.5ms)
1052
- Completed 200 OK in 9ms (Views: 8.4ms | ActiveRecord: 0.0ms)
1053
-  (0.1ms) rollback transaction
1054
-  (0.2ms) begin transaction
1055
- --------------------------------------------------------------------
1056
- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
1057
- --------------------------------------------------------------------
1058
-  (0.1ms) rollback transaction
1059
-  (0.1ms) begin transaction
1060
- -----------------------------------------------------------------------
1061
- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
1062
- -----------------------------------------------------------------------
1063
-  (0.1ms) rollback transaction
1064
-  (0.7ms) begin transaction
1065
- ----------------------------------------
1066
- ShopifyAppWhitelistTest: test_is_working
1067
- ----------------------------------------
1068
-  (0.6ms) rollback transaction
1069
-  (0.1ms) begin transaction
1070
- ---------------------------------------------------------------------------------------
1071
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
1072
- ---------------------------------------------------------------------------------------
1073
- Processing by ShopifyApp::SessionsController#new as HTML
1074
- Parameters: {"shop"=>nil}
1075
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (3.0ms)
1076
- Completed 200 OK in 22ms (Views: 20.8ms | ActiveRecord: 0.0ms)
1077
-  (0.5ms) rollback transaction
1078
-  (0.3ms) begin transaction
1079
- ---------------------------------------------------------------------------------------
1080
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
1081
- ---------------------------------------------------------------------------------------
1082
- Processing by ShopifyApp::SessionsController#create as HTML
1083
- Parameters: {"shop"=>"allowed.myshopify.com"}
1084
- Rendered inline template (0.8ms)
1085
- Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.0ms)
1086
-  (0.3ms) rollback transaction
1087
-  (0.2ms) begin transaction
1088
- ---------------------------------------------------------------------------------------------------------
1089
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
1090
- ---------------------------------------------------------------------------------------------------------
1091
- Processing by ShopifyApp::SessionsController#create as HTML
1092
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1093
- Redirected to http://test.host/404.html
1094
- Filter chain halted as :whitelist_check rendered or redirected
1095
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
1096
-  (0.1ms) rollback transaction
1097
-  (0.1ms) begin transaction
1098
- ----------------------------------------------------------------------------------
1099
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
1100
- ----------------------------------------------------------------------------------
1101
- Processing by ShopifyApp::SessionsController#create as HTML
1102
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1103
- Redirected to http://test.host/404.html
1104
- Filter chain halted as :whitelist_check rendered or redirected
1105
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
1106
- Processing by ShopifyApp::SessionsController#new as HTML
1107
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1108
- Redirected to http://test.host/404.html
1109
- Filter chain halted as :whitelist_check rendered or redirected
1110
- Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
1111
- Processing by ShopifyApp::SessionsController#callback as HTML
1112
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1113
- Redirected to http://test.host/404.html
1114
- Filter chain halted as :whitelist_check rendered or redirected
1115
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1116
-  (0.1ms) rollback transaction
1117
-  (0.1ms) begin transaction
1118
- ----------------------------------------------------------------------------------
1119
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
1120
- ----------------------------------------------------------------------------------
1121
- Processing by ShopifyApp::SessionsController#create as HTML
1122
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1123
- Redirected to http://test.host/404.html
1124
- Filter chain halted as :whitelist_check rendered or redirected
1125
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
1126
- Processing by ShopifyApp::SessionsController#new as HTML
1127
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1128
- Redirected to http://test.host/404.html
1129
- Filter chain halted as :whitelist_check rendered or redirected
1130
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1131
- Processing by ShopifyApp::SessionsController#callback as HTML
1132
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1133
- Redirected to http://test.host/404.html
1134
- Filter chain halted as :whitelist_check rendered or redirected
1135
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1136
-  (0.1ms) rollback transaction
1137
-  (0.1ms) begin transaction
1138
- ---------------------------------------------------------------------------------------
1139
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
1140
- ---------------------------------------------------------------------------------------
1141
- Processing by ShopifyApp::SessionsController#create as HTML
1142
- Parameters: {"shop"=>"allowed.myshopify.com"}
1143
- Rendered inline template (1.1ms)
1144
- Completed 200 OK in 9ms (Views: 7.4ms | ActiveRecord: 0.0ms)
1145
-  (0.1ms) rollback transaction
1146
-  (0.1ms) begin transaction
1147
- ---------------------------------------------------------------------------------------------------------
1148
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
1149
- ---------------------------------------------------------------------------------------------------------
1150
- Processing by ShopifyApp::SessionsController#create as HTML
1151
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1152
- Redirected to http://test.host/404.html
1153
- Filter chain halted as :whitelist_check rendered or redirected
1154
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1155
-  (0.1ms) rollback transaction
1156
-  (0.1ms) begin transaction
1157
- ---------------------------------------------------------------------------------------
1158
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
1159
- ---------------------------------------------------------------------------------------
1160
- Processing by ShopifyApp::SessionsController#new as HTML
1161
- Parameters: {"shop"=>nil}
1162
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (0.7ms)
1163
- Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
1164
-  (0.1ms) rollback transaction
1165
-  (0.1ms) begin transaction
1166
- --------------------------------------------------------------------
1167
- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
1168
- --------------------------------------------------------------------
1169
-  (0.1ms) rollback transaction
1170
-  (0.0ms) begin transaction
1171
- ----------------------------------------
1172
- ShopifyAppWhitelistTest: test_is_working
1173
- ----------------------------------------
1174
-  (0.0ms) rollback transaction
1175
-  (0.1ms) begin transaction
1176
- -----------------------------------------------------------------------
1177
- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
1178
- -----------------------------------------------------------------------
1179
-  (0.0ms) rollback transaction
1180
-  (0.1ms) begin transaction
1181
- ----------------------------------------
1182
- ShopifyAppWhitelistTest: test_is_working
1183
- ----------------------------------------
1184
-  (0.1ms) rollback transaction
1185
-  (0.1ms) begin transaction
1186
- --------------------------------------------------------------------
1187
- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
1188
- --------------------------------------------------------------------
1189
-  (0.1ms) rollback transaction
1190
-  (0.1ms) begin transaction
1191
- -----------------------------------------------------------------------
1192
- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
1193
- -----------------------------------------------------------------------
1194
-  (0.1ms) rollback transaction
1195
-  (0.0ms) begin transaction
1196
- ---------------------------------------------------------------------------------------
1197
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
1198
- ---------------------------------------------------------------------------------------
1199
- Processing by ShopifyApp::SessionsController#create as HTML
1200
- Parameters: {"shop"=>"allowed.myshopify.com"}
1201
- Rendered inline template (1.3ms)
1202
- Completed 200 OK in 11ms (Views: 9.1ms | ActiveRecord: 0.0ms)
1203
-  (0.1ms) rollback transaction
1204
-  (0.1ms) begin transaction
1205
- ----------------------------------------------------------------------------------
1206
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
1207
- ----------------------------------------------------------------------------------
1208
- Processing by ShopifyApp::SessionsController#create as HTML
1209
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1210
- Redirected to http://test.host/404.html
1211
- Filter chain halted as :whitelist_check rendered or redirected
1212
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
1213
- Processing by ShopifyApp::SessionsController#new as HTML
1214
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1215
- Redirected to http://test.host/404.html
1216
- Filter chain halted as :whitelist_check rendered or redirected
1217
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1218
- Processing by ShopifyApp::SessionsController#callback as HTML
1219
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1220
- Redirected to http://test.host/404.html
1221
- Filter chain halted as :whitelist_check rendered or redirected
1222
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1223
-  (0.1ms) rollback transaction
1224
-  (0.1ms) begin transaction
1225
- ---------------------------------------------------------------------------------------
1226
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
1227
- ---------------------------------------------------------------------------------------
1228
- Processing by ShopifyApp::SessionsController#new as HTML
1229
- Parameters: {"shop"=>nil}
1230
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (0.7ms)
1231
- Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
1232
-  (0.1ms) rollback transaction
1233
-  (0.1ms) begin transaction
1234
- ---------------------------------------------------------------------------------------------------------
1235
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
1236
- ---------------------------------------------------------------------------------------------------------
1237
- Processing by ShopifyApp::SessionsController#create as HTML
1238
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1239
- Redirected to http://test.host/404.html
1240
- Filter chain halted as :whitelist_check rendered or redirected
1241
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1242
-  (0.1ms) rollback transaction
1243
-  (0.1ms) begin transaction
1244
- ----------------------------------------
1245
- ShopifyAppWhitelistTest: test_is_working
1246
- ----------------------------------------
1247
-  (0.1ms) rollback transaction
1248
-  (0.1ms) begin transaction
1249
- -----------------------------------------------------------------------
1250
- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
1251
- -----------------------------------------------------------------------
1252
-  (0.0ms) rollback transaction
1253
-  (0.1ms) begin transaction
1254
- --------------------------------------------------------------------
1255
- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
1256
- --------------------------------------------------------------------
1257
-  (0.1ms) rollback transaction
1258
-  (0.1ms) begin transaction
1259
- ---------------------------------------------------------------------------------------
1260
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
1261
- ---------------------------------------------------------------------------------------
1262
- Processing by ShopifyApp::SessionsController#create as HTML
1263
- Parameters: {"shop"=>"allowed.myshopify.com"}
1264
- Rendered inline template (1.9ms)
1265
- Completed 200 OK in 15ms (Views: 12.8ms | ActiveRecord: 0.0ms)
1266
-  (0.1ms) rollback transaction
1267
-  (0.1ms) begin transaction
1268
- ---------------------------------------------------------------------------------------
1269
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
1270
- ---------------------------------------------------------------------------------------
1271
- Processing by ShopifyApp::SessionsController#new as HTML
1272
- Parameters: {"shop"=>nil}
1273
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (0.8ms)
1274
- Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)
1275
-  (0.1ms) rollback transaction
1276
-  (0.1ms) begin transaction
1277
- ---------------------------------------------------------------------------------------------------------
1278
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
1279
- ---------------------------------------------------------------------------------------------------------
1280
- Processing by ShopifyApp::SessionsController#create as HTML
1281
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1282
- Redirected to http://test.host/404.html
1283
- Filter chain halted as :whitelist_check rendered or redirected
1284
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
1285
-  (0.1ms) rollback transaction
1286
-  (0.1ms) begin transaction
1287
- ----------------------------------------------------------------------------------
1288
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
1289
- ----------------------------------------------------------------------------------
1290
- Processing by ShopifyApp::SessionsController#create as HTML
1291
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1292
- Redirected to http://test.host/404.html
1293
- Filter chain halted as :whitelist_check rendered or redirected
1294
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1295
- Processing by ShopifyApp::SessionsController#new as HTML
1296
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1297
- Redirected to http://test.host/404.html
1298
- Filter chain halted as :whitelist_check rendered or redirected
1299
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1300
- Processing by ShopifyApp::SessionsController#callback as HTML
1301
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1302
- Redirected to http://test.host/404.html
1303
- Filter chain halted as :whitelist_check rendered or redirected
1304
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1305
-  (0.1ms) rollback transaction
1306
-  (0.1ms) begin transaction
1307
- ---------------------------------------------------------------------------------------
1308
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
1309
- ---------------------------------------------------------------------------------------
1310
- Processing by ShopifyApp::SessionsController#create as HTML
1311
- Parameters: {"shop"=>"allowed.myshopify.com"}
1312
- Rendered inline template (1.0ms)
1313
- Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.0ms)
1314
-  (0.1ms) rollback transaction
1315
-  (0.1ms) begin transaction
1316
- ---------------------------------------------------------------------------------------
1317
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
1318
- ---------------------------------------------------------------------------------------
1319
- Processing by ShopifyApp::SessionsController#new as HTML
1320
- Parameters: {"shop"=>nil}
1321
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (0.6ms)
1322
- Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
1323
-  (0.1ms) rollback transaction
1324
-  (0.1ms) begin transaction
1325
- ---------------------------------------------------------------------------------------------------------
1326
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
1327
- ---------------------------------------------------------------------------------------------------------
1328
- Processing by ShopifyApp::SessionsController#create as HTML
1329
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1330
- Redirected to http://test.host/404.html
1331
- Filter chain halted as :whitelist_check rendered or redirected
1332
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
1333
-  (0.1ms) rollback transaction
1334
-  (0.1ms) begin transaction
1335
- ----------------------------------------------------------------------------------
1336
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
1337
- ----------------------------------------------------------------------------------
1338
- Processing by ShopifyApp::SessionsController#create as HTML
1339
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1340
- Redirected to http://test.host/404.html
1341
- Filter chain halted as :whitelist_check rendered or redirected
1342
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1343
- Processing by ShopifyApp::SessionsController#new as HTML
1344
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1345
- Redirected to http://test.host/404.html
1346
- Filter chain halted as :whitelist_check rendered or redirected
1347
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1348
- Processing by ShopifyApp::SessionsController#callback as HTML
1349
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1350
- Redirected to http://test.host/404.html
1351
- Filter chain halted as :whitelist_check rendered or redirected
1352
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1353
-  (0.1ms) rollback transaction
1354
-  (0.1ms) begin transaction
1355
- -----------------------------------------------------------------------
1356
- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
1357
- -----------------------------------------------------------------------
1358
-  (0.0ms) rollback transaction
1359
-  (0.1ms) begin transaction
1360
- ----------------------------------------
1361
- ShopifyAppWhitelistTest: test_is_working
1362
- ----------------------------------------
1363
-  (0.2ms) rollback transaction
1364
-  (0.1ms) begin transaction
1365
- --------------------------------------------------------------------
1366
- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
1367
- --------------------------------------------------------------------
1368
-  (0.0ms) rollback transaction
1369
-  (0.1ms) begin transaction
1370
- -----------------------------------------------------------------------
1371
- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
1372
- -----------------------------------------------------------------------
1373
-  (0.1ms) rollback transaction
1374
-  (0.1ms) begin transaction
1375
- --------------------------------------------------------------------
1376
- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
1377
- --------------------------------------------------------------------
1378
-  (0.0ms) rollback transaction
1379
-  (0.1ms) begin transaction
1380
- ----------------------------------------
1381
- ShopifyAppWhitelistTest: test_is_working
1382
- ----------------------------------------
1383
-  (0.0ms) rollback transaction
1384
-  (0.1ms) begin transaction
1385
- ---------------------------------------------------------------------------------------
1386
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
1387
- ---------------------------------------------------------------------------------------
1388
- Processing by ShopifyApp::SessionsController#create as HTML
1389
- Parameters: {"shop"=>"allowed.myshopify.com"}
1390
- Rendered inline template (1.3ms)
1391
- Completed 200 OK in 9ms (Views: 7.4ms | ActiveRecord: 0.0ms)
1392
-  (0.1ms) rollback transaction
1393
-  (0.1ms) begin transaction
1394
- ---------------------------------------------------------------------------------------
1395
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
1396
- ---------------------------------------------------------------------------------------
1397
- Processing by ShopifyApp::SessionsController#new as HTML
1398
- Parameters: {"shop"=>nil}
1399
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (0.6ms)
1400
- Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
1401
-  (0.1ms) rollback transaction
1402
-  (0.1ms) begin transaction
1403
- ---------------------------------------------------------------------------------------------------------
1404
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
1405
- ---------------------------------------------------------------------------------------------------------
1406
- Processing by ShopifyApp::SessionsController#create as HTML
1407
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1408
- Redirected to http://test.host/404.html
1409
- Filter chain halted as :whitelist_check rendered or redirected
1410
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
1411
-  (0.1ms) rollback transaction
1412
-  (0.1ms) begin transaction
1413
- ----------------------------------------------------------------------------------
1414
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
1415
- ----------------------------------------------------------------------------------
1416
- Processing by ShopifyApp::SessionsController#create as HTML
1417
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1418
- Redirected to http://test.host/404.html
1419
- Filter chain halted as :whitelist_check rendered or redirected
1420
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1421
- Processing by ShopifyApp::SessionsController#new as HTML
1422
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1423
- Redirected to http://test.host/404.html
1424
- Filter chain halted as :whitelist_check rendered or redirected
1425
- Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
1426
- Processing by ShopifyApp::SessionsController#callback as HTML
1427
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1428
- Redirected to http://test.host/404.html
1429
- Filter chain halted as :whitelist_check rendered or redirected
1430
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1431
-  (0.1ms) rollback transaction
1432
-  (0.1ms) begin transaction
1433
- -----------------------------------------------------------------------
1434
- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
1435
- -----------------------------------------------------------------------
1436
-  (0.0ms) rollback transaction
1437
-  (0.1ms) begin transaction
1438
- --------------------------------------------------------------------
1439
- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
1440
- --------------------------------------------------------------------
1441
-  (0.0ms) rollback transaction
1442
-  (0.1ms) begin transaction
1443
- ----------------------------------------
1444
- ShopifyAppWhitelistTest: test_is_working
1445
- ----------------------------------------
1446
-  (0.0ms) rollback transaction
1447
-  (0.0ms) begin transaction
1448
- ---------------------------------------------------------------------------------------
1449
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
1450
- ---------------------------------------------------------------------------------------
1451
- Processing by ShopifyApp::SessionsController#create as HTML
1452
- Parameters: {"shop"=>"allowed.myshopify.com"}
1453
- Rendered inline template (1.2ms)
1454
- Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.0ms)
1455
-  (0.1ms) rollback transaction
1456
-  (0.0ms) begin transaction
1457
- ---------------------------------------------------------------------------------------------------------
1458
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
1459
- ---------------------------------------------------------------------------------------------------------
1460
- Processing by ShopifyApp::SessionsController#create as HTML
1461
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1462
- Redirected to http://test.host/404.html
1463
- Filter chain halted as :whitelist_check rendered or redirected
1464
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
1465
-  (0.1ms) rollback transaction
1466
-  (0.1ms) begin transaction
1467
- ---------------------------------------------------------------------------------------
1468
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
1469
- ---------------------------------------------------------------------------------------
1470
- Processing by ShopifyApp::SessionsController#new as HTML
1471
- Parameters: {"shop"=>nil}
1472
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (1.0ms)
1473
- Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms)
1474
-  (0.1ms) rollback transaction
1475
-  (0.0ms) begin transaction
1476
- ----------------------------------------------------------------------------------
1477
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
1478
- ----------------------------------------------------------------------------------
1479
- Processing by ShopifyApp::SessionsController#create as HTML
1480
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1481
- Redirected to http://test.host/404.html
1482
- Filter chain halted as :whitelist_check rendered or redirected
1483
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1484
- Processing by ShopifyApp::SessionsController#new as HTML
1485
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1486
- Redirected to http://test.host/404.html
1487
- Filter chain halted as :whitelist_check rendered or redirected
1488
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1489
- Processing by ShopifyApp::SessionsController#callback as HTML
1490
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1491
- Redirected to http://test.host/404.html
1492
- Filter chain halted as :whitelist_check rendered or redirected
1493
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1494
-  (0.1ms) rollback transaction
1495
-  (0.1ms) begin transaction
1496
- ---------------------------------------------------------------------------------------
1497
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
1498
- ---------------------------------------------------------------------------------------
1499
- Processing by ShopifyApp::SessionsController#create as HTML
1500
- Parameters: {"shop"=>"allowed.myshopify.com"}
1501
- Rendered inline template (2.0ms)
1502
- Completed 200 OK in 14ms (Views: 11.4ms | ActiveRecord: 0.0ms)
1503
-  (0.1ms) rollback transaction
1504
-  (0.1ms) begin transaction
1505
- ---------------------------------------------------------------------------------------
1506
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
1507
- ---------------------------------------------------------------------------------------
1508
- Processing by ShopifyApp::SessionsController#new as HTML
1509
- Parameters: {"shop"=>nil}
1510
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (1.1ms)
1511
- Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms)
1512
-  (0.1ms) rollback transaction
1513
-  (0.0ms) begin transaction
1514
- ----------------------------------------------------------------------------------
1515
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
1516
- ----------------------------------------------------------------------------------
1517
- Processing by ShopifyApp::SessionsController#create as HTML
1518
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1519
- Redirected to http://test.host/404.html
1520
- Filter chain halted as :whitelist_check rendered or redirected
1521
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
1522
- Processing by ShopifyApp::SessionsController#new as HTML
1523
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1524
- Redirected to http://test.host/404.html
1525
- Filter chain halted as :whitelist_check rendered or redirected
1526
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1527
- Processing by ShopifyApp::SessionsController#callback as HTML
1528
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1529
- Redirected to http://test.host/404.html
1530
- Filter chain halted as :whitelist_check rendered or redirected
1531
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1532
-  (0.1ms) rollback transaction
1533
-  (0.0ms) begin transaction
1534
- ---------------------------------------------------------------------------------------------------------
1535
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
1536
- ---------------------------------------------------------------------------------------------------------
1537
- Processing by ShopifyApp::SessionsController#create as HTML
1538
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1539
- Redirected to http://test.host/404.html
1540
- Filter chain halted as :whitelist_check rendered or redirected
1541
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1542
-  (0.1ms) rollback transaction
1543
-  (0.0ms) begin transaction
1544
- --------------------------------------------------------------------
1545
- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
1546
- --------------------------------------------------------------------
1547
-  (0.0ms) rollback transaction
1548
-  (0.1ms) begin transaction
1549
- ----------------------------------------
1550
- ShopifyAppWhitelistTest: test_is_working
1551
- ----------------------------------------
1552
-  (0.0ms) rollback transaction
1553
-  (0.0ms) begin transaction
1554
- -----------------------------------------------------------------------
1555
- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
1556
- -----------------------------------------------------------------------
1557
-  (0.0ms) rollback transaction
1558
-  (0.1ms) begin transaction
1559
- ----------------------------------------------------------------------------------
1560
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
1561
- ----------------------------------------------------------------------------------
1562
- Processing by ShopifyApp::SessionsController#create as HTML
1563
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1564
- Redirected to http://test.host/404.html
1565
- Filter chain halted as :whitelist_check rendered or redirected
1566
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
1567
- Processing by ShopifyApp::SessionsController#new as HTML
1568
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1569
- Redirected to http://test.host/404.html
1570
- Filter chain halted as :whitelist_check rendered or redirected
1571
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1572
- Processing by ShopifyApp::SessionsController#callback as HTML
1573
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1574
- Redirected to http://test.host/404.html
1575
- Filter chain halted as :whitelist_check rendered or redirected
1576
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1577
-  (0.1ms) rollback transaction
1578
-  (0.1ms) begin transaction
1579
- ---------------------------------------------------------------------------------------
1580
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
1581
- ---------------------------------------------------------------------------------------
1582
- Processing by ShopifyApp::SessionsController#create as HTML
1583
- Parameters: {"shop"=>"allowed.myshopify.com"}
1584
- Rendered inline template (1.5ms)
1585
- Completed 200 OK in 11ms (Views: 9.3ms | ActiveRecord: 0.0ms)
1586
-  (0.1ms) rollback transaction
1587
-  (0.1ms) begin transaction
1588
- ---------------------------------------------------------------------------------------
1589
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
1590
- ---------------------------------------------------------------------------------------
1591
- Processing by ShopifyApp::SessionsController#new as HTML
1592
- Parameters: {"shop"=>nil}
1593
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (0.7ms)
1594
- Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
1595
-  (0.1ms) rollback transaction
1596
-  (0.1ms) begin transaction
1597
- ---------------------------------------------------------------------------------------------------------
1598
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
1599
- ---------------------------------------------------------------------------------------------------------
1600
- Processing by ShopifyApp::SessionsController#create as HTML
1601
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1602
- Redirected to http://test.host/404.html
1603
- Filter chain halted as :whitelist_check rendered or redirected
1604
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1605
-  (0.1ms) rollback transaction
1606
-  (0.0ms) begin transaction
1607
- ----------------------------------------
1608
- ShopifyAppWhitelistTest: test_is_working
1609
- ----------------------------------------
1610
-  (0.0ms) rollback transaction
1611
-  (0.1ms) begin transaction
1612
- -----------------------------------------------------------------------
1613
- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
1614
- -----------------------------------------------------------------------
1615
-  (0.0ms) rollback transaction
1616
-  (0.1ms) begin transaction
1617
- --------------------------------------------------------------------
1618
- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
1619
- --------------------------------------------------------------------
1620
-  (0.1ms) rollback transaction
1621
-  (0.1ms) begin transaction
1622
- ---------------------------------------------------------------------------------------
1623
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
1624
- ---------------------------------------------------------------------------------------
1625
- Processing by ShopifyApp::SessionsController#new as HTML
1626
- Parameters: {"shop"=>nil}
1627
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (2.1ms)
1628
- Completed 200 OK in 13ms (Views: 12.2ms | ActiveRecord: 0.0ms)
1629
-  (0.1ms) rollback transaction
1630
-  (0.2ms) begin transaction
1631
- ---------------------------------------------------------------------------------------------------------
1632
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
1633
- ---------------------------------------------------------------------------------------------------------
1634
- Processing by ShopifyApp::SessionsController#create as HTML
1635
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1636
- Redirected to http://test.host/404.html
1637
- Filter chain halted as :whitelist_check rendered or redirected
1638
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
1639
-  (0.1ms) rollback transaction
1640
-  (0.1ms) begin transaction
1641
- ---------------------------------------------------------------------------------------
1642
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
1643
- ---------------------------------------------------------------------------------------
1644
- Processing by ShopifyApp::SessionsController#create as HTML
1645
- Parameters: {"shop"=>"allowed.myshopify.com"}
1646
- Rendered inline template (0.6ms)
1647
- Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.0ms)
1648
-  (0.1ms) rollback transaction
1649
-  (0.0ms) begin transaction
1650
- ----------------------------------------------------------------------------------
1651
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
1652
- ----------------------------------------------------------------------------------
1653
- Processing by ShopifyApp::SessionsController#create as HTML
1654
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1655
- Redirected to http://test.host/404.html
1656
- Filter chain halted as :whitelist_check rendered or redirected
1657
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1658
- Processing by ShopifyApp::SessionsController#new as HTML
1659
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1660
- Redirected to http://test.host/404.html
1661
- Filter chain halted as :whitelist_check rendered or redirected
1662
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1663
- Processing by ShopifyApp::SessionsController#callback as HTML
1664
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1665
- Redirected to http://test.host/404.html
1666
- Filter chain halted as :whitelist_check rendered or redirected
1667
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1668
-  (0.1ms) rollback transaction
1669
-  (0.0ms) begin transaction
1670
- ----------------------------------------
1671
- ShopifyAppWhitelistTest: test_is_working
1672
- ----------------------------------------
1673
-  (0.1ms) rollback transaction
1674
-  (0.1ms) begin transaction
1675
- --------------------------------------------------------------------
1676
- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
1677
- --------------------------------------------------------------------
1678
-  (0.1ms) rollback transaction
1679
-  (0.0ms) begin transaction
1680
- -----------------------------------------------------------------------
1681
- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
1682
- -----------------------------------------------------------------------
1683
-  (0.0ms) rollback transaction
1684
-  (0.1ms) begin transaction
1685
- --------------------------------------------------------------------
1686
- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
1687
- --------------------------------------------------------------------
1688
-  (0.1ms) rollback transaction
1689
-  (0.1ms) begin transaction
1690
- -----------------------------------------------------------------------
1691
- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
1692
- -----------------------------------------------------------------------
1693
-  (0.0ms) rollback transaction
1694
-  (0.1ms) begin transaction
1695
- ----------------------------------------
1696
- ShopifyAppWhitelistTest: test_is_working
1697
- ----------------------------------------
1698
-  (0.0ms) rollback transaction
1699
-  (0.1ms) begin transaction
1700
- ---------------------------------------------------------------------------------------
1701
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
1702
- ---------------------------------------------------------------------------------------
1703
- Processing by ShopifyApp::SessionsController#create as HTML
1704
- Parameters: {"shop"=>"allowed.myshopify.com"}
1705
- Rendered inline template (1.6ms)
1706
- Completed 200 OK in 12ms (Views: 9.6ms | ActiveRecord: 0.0ms)
1707
-  (0.1ms) rollback transaction
1708
-  (0.1ms) begin transaction
1709
- ---------------------------------------------------------------------------------------
1710
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
1711
- ---------------------------------------------------------------------------------------
1712
- Processing by ShopifyApp::SessionsController#new as HTML
1713
- Parameters: {"shop"=>nil}
1714
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (1.0ms)
1715
- Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)
1716
-  (0.1ms) rollback transaction
1717
-  (0.0ms) begin transaction
1718
- ---------------------------------------------------------------------------------------------------------
1719
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
1720
- ---------------------------------------------------------------------------------------------------------
1721
- Processing by ShopifyApp::SessionsController#create as HTML
1722
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1723
- Redirected to http://test.host/404.html
1724
- Filter chain halted as :whitelist_check rendered or redirected
1725
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
1726
-  (0.1ms) rollback transaction
1727
-  (0.1ms) begin transaction
1728
- ----------------------------------------------------------------------------------
1729
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
1730
- ----------------------------------------------------------------------------------
1731
- Processing by ShopifyApp::SessionsController#create as HTML
1732
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1733
- Redirected to http://test.host/404.html
1734
- Filter chain halted as :whitelist_check rendered or redirected
1735
- Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
1736
- Processing by ShopifyApp::SessionsController#new as HTML
1737
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1738
- Redirected to http://test.host/404.html
1739
- Filter chain halted as :whitelist_check rendered or redirected
1740
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1741
- Processing by ShopifyApp::SessionsController#callback as HTML
1742
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1743
- Redirected to http://test.host/404.html
1744
- Filter chain halted as :whitelist_check rendered or redirected
1745
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1746
-  (0.1ms) rollback transaction
1747
-  (0.1ms) begin transaction
1748
- --------------------------------------------------------------------
1749
- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
1750
- --------------------------------------------------------------------
1751
-  (0.1ms) rollback transaction
1752
-  (0.1ms) begin transaction
1753
- -----------------------------------------------------------------------
1754
- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
1755
- -----------------------------------------------------------------------
1756
-  (0.0ms) rollback transaction
1757
-  (0.1ms) begin transaction
1758
- ----------------------------------------
1759
- ShopifyAppWhitelistTest: test_is_working
1760
- ----------------------------------------
1761
-  (0.0ms) rollback transaction
1762
-  (0.1ms) begin transaction
1763
- ---------------------------------------------------------------------------------------------------------
1764
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
1765
- ---------------------------------------------------------------------------------------------------------
1766
- Processing by ShopifyApp::SessionsController#create as HTML
1767
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1768
- Redirected to http://test.host/404.html
1769
- Filter chain halted as :whitelist_check rendered or redirected
1770
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
1771
-  (0.1ms) rollback transaction
1772
-  (0.1ms) begin transaction
1773
- ----------------------------------------------------------------------------------
1774
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
1775
- ----------------------------------------------------------------------------------
1776
- Processing by ShopifyApp::SessionsController#create as HTML
1777
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1778
- Redirected to http://test.host/404.html
1779
- Filter chain halted as :whitelist_check rendered or redirected
1780
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
1781
- Processing by ShopifyApp::SessionsController#new as HTML
1782
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1783
- Redirected to http://test.host/404.html
1784
- Filter chain halted as :whitelist_check rendered or redirected
1785
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1786
- Processing by ShopifyApp::SessionsController#callback as HTML
1787
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1788
- Redirected to http://test.host/404.html
1789
- Filter chain halted as :whitelist_check rendered or redirected
1790
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1791
-  (0.1ms) rollback transaction
1792
-  (0.1ms) begin transaction
1793
- ---------------------------------------------------------------------------------------
1794
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
1795
- ---------------------------------------------------------------------------------------
1796
- Processing by ShopifyApp::SessionsController#new as HTML
1797
- Parameters: {"shop"=>nil}
1798
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (2.3ms)
1799
- Completed 200 OK in 16ms (Views: 15.3ms | ActiveRecord: 0.0ms)
1800
-  (0.1ms) rollback transaction
1801
-  (0.0ms) begin transaction
1802
- ---------------------------------------------------------------------------------------
1803
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
1804
- ---------------------------------------------------------------------------------------
1805
- Processing by ShopifyApp::SessionsController#create as HTML
1806
- Parameters: {"shop"=>"allowed.myshopify.com"}
1807
- Rendered inline template (0.3ms)
1808
- Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.0ms)
1809
-  (0.1ms) rollback transaction
1810
-  (0.1ms) begin transaction
1811
- ---------------------------------------------------------------------------------------------------------
1812
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
1813
- ---------------------------------------------------------------------------------------------------------
1814
- Processing by ShopifyApp::SessionsController#create as HTML
1815
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1816
- Redirected to http://test.host/404.html
1817
- Filter chain halted as :whitelist_check rendered or redirected
1818
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
1819
-  (0.1ms) rollback transaction
1820
-  (0.2ms) begin transaction
1821
- ----------------------------------------------------------------------------------
1822
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
1823
- ----------------------------------------------------------------------------------
1824
- Processing by ShopifyApp::SessionsController#create as HTML
1825
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1826
- Redirected to http://test.host/404.html
1827
- Filter chain halted as :whitelist_check rendered or redirected
1828
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1829
- Processing by ShopifyApp::SessionsController#new as HTML
1830
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1831
- Redirected to http://test.host/404.html
1832
- Filter chain halted as :whitelist_check rendered or redirected
1833
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1834
- Processing by ShopifyApp::SessionsController#callback as HTML
1835
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1836
- Redirected to http://test.host/404.html
1837
- Filter chain halted as :whitelist_check rendered or redirected
1838
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1839
-  (0.1ms) rollback transaction
1840
-  (0.1ms) begin transaction
1841
- ---------------------------------------------------------------------------------------
1842
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
1843
- ---------------------------------------------------------------------------------------
1844
- Processing by ShopifyApp::SessionsController#create as HTML
1845
- Parameters: {"shop"=>"allowed.myshopify.com"}
1846
- Rendered inline template (2.3ms)
1847
- Completed 200 OK in 11ms (Views: 9.7ms | ActiveRecord: 0.0ms)
1848
-  (0.1ms) rollback transaction
1849
-  (0.0ms) begin transaction
1850
- ---------------------------------------------------------------------------------------
1851
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
1852
- ---------------------------------------------------------------------------------------
1853
- Processing by ShopifyApp::SessionsController#new as HTML
1854
- Parameters: {"shop"=>nil}
1855
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (0.9ms)
1856
- Completed 200 OK in 3ms (Views: 3.2ms | ActiveRecord: 0.0ms)
1857
-  (0.1ms) rollback transaction
1858
-  (0.1ms) begin transaction
1859
- ----------------------------------------
1860
- ShopifyAppWhitelistTest: test_is_working
1861
- ----------------------------------------
1862
-  (0.1ms) rollback transaction
1863
-  (0.2ms) begin transaction
1864
- --------------------------------------------------------------------
1865
- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
1866
- --------------------------------------------------------------------
1867
-  (0.1ms) rollback transaction
1868
-  (0.1ms) begin transaction
1869
- -----------------------------------------------------------------------
1870
- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
1871
- -----------------------------------------------------------------------
1872
-  (0.0ms) rollback transaction
1873
-  (0.2ms) begin transaction
1874
- ---------------------------------------------------------------------------------------
1875
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
1876
- ---------------------------------------------------------------------------------------
1877
- Processing by ShopifyApp::SessionsController#new as HTML
1878
- Parameters: {"shop"=>nil}
1879
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (2.3ms)
1880
- Completed 200 OK in 15ms (Views: 14.5ms | ActiveRecord: 0.0ms)
1881
-  (0.1ms) rollback transaction
1882
-  (0.1ms) begin transaction
1883
- ---------------------------------------------------------------------------------------------------------
1884
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
1885
- ---------------------------------------------------------------------------------------------------------
1886
- Processing by ShopifyApp::SessionsController#create as HTML
1887
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1888
- Redirected to http://test.host/404.html
1889
- Filter chain halted as :whitelist_check rendered or redirected
1890
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
1891
-  (0.1ms) rollback transaction
1892
-  (0.1ms) begin transaction
1893
- ----------------------------------------------------------------------------------
1894
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
1895
- ----------------------------------------------------------------------------------
1896
- Processing by ShopifyApp::SessionsController#create as HTML
1897
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1898
- Redirected to http://test.host/404.html
1899
- Filter chain halted as :whitelist_check rendered or redirected
1900
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1901
- Processing by ShopifyApp::SessionsController#new as HTML
1902
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1903
- Redirected to http://test.host/404.html
1904
- Filter chain halted as :whitelist_check rendered or redirected
1905
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1906
- Processing by ShopifyApp::SessionsController#callback as HTML
1907
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1908
- Redirected to http://test.host/404.html
1909
- Filter chain halted as :whitelist_check rendered or redirected
1910
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1911
-  (0.1ms) rollback transaction
1912
-  (0.1ms) begin transaction
1913
- ---------------------------------------------------------------------------------------
1914
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
1915
- ---------------------------------------------------------------------------------------
1916
- Processing by ShopifyApp::SessionsController#create as HTML
1917
- Parameters: {"shop"=>"allowed.myshopify.com"}
1918
- Rendered inline template (0.4ms)
1919
- Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.0ms)
1920
-  (0.1ms) rollback transaction
1921
-  (0.1ms) begin transaction
1922
- --------------------------------------------------------------------
1923
- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
1924
- --------------------------------------------------------------------
1925
-  (0.1ms) rollback transaction
1926
-  (0.4ms) begin transaction
1927
- -----------------------------------------------------------------------
1928
- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
1929
- -----------------------------------------------------------------------
1930
-  (0.2ms) rollback transaction
1931
-  (0.1ms) begin transaction
1932
- ----------------------------------------
1933
- ShopifyAppWhitelistTest: test_is_working
1934
- ----------------------------------------
1935
-  (0.1ms) rollback transaction
1936
-  (0.1ms) begin transaction
1937
- -----------------------------------------------------------------------
1938
- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
1939
- -----------------------------------------------------------------------
1940
-  (0.1ms) rollback transaction
1941
-  (0.1ms) begin transaction
1942
- --------------------------------------------------------------------
1943
- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
1944
- --------------------------------------------------------------------
1945
-  (0.0ms) rollback transaction
1946
-  (0.1ms) begin transaction
1947
- ----------------------------------------
1948
- ShopifyAppWhitelistTest: test_is_working
1949
- ----------------------------------------
1950
-  (0.0ms) rollback transaction
1951
-  (0.0ms) begin transaction
1952
- ---------------------------------------------------------------------------------------------------------
1953
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
1954
- ---------------------------------------------------------------------------------------------------------
1955
- Processing by ShopifyApp::SessionsController#create as HTML
1956
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1957
- Redirected to http://test.host/404.html
1958
- Filter chain halted as :whitelist_check rendered or redirected
1959
- Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
1960
-  (0.1ms) rollback transaction
1961
-  (0.1ms) begin transaction
1962
- ----------------------------------------------------------------------------------
1963
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
1964
- ----------------------------------------------------------------------------------
1965
- Processing by ShopifyApp::SessionsController#create as HTML
1966
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1967
- Redirected to http://test.host/404.html
1968
- Filter chain halted as :whitelist_check rendered or redirected
1969
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1970
- Processing by ShopifyApp::SessionsController#new as HTML
1971
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1972
- Redirected to http://test.host/404.html
1973
- Filter chain halted as :whitelist_check rendered or redirected
1974
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1975
- Processing by ShopifyApp::SessionsController#callback as HTML
1976
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
1977
- Redirected to http://test.host/404.html
1978
- Filter chain halted as :whitelist_check rendered or redirected
1979
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1980
-  (0.1ms) rollback transaction
1981
-  (0.1ms) begin transaction
1982
- ---------------------------------------------------------------------------------------
1983
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
1984
- ---------------------------------------------------------------------------------------
1985
- Processing by ShopifyApp::SessionsController#new as HTML
1986
- Parameters: {"shop"=>""}
1987
- Rendering /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb
1988
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (4.4ms)
1989
- Completed 200 OK in 19ms (Views: 16.0ms | ActiveRecord: 0.0ms)
1990
-  (0.2ms) rollback transaction
1991
-  (0.2ms) begin transaction
1992
- ---------------------------------------------------------------------------------------
1993
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
1994
- ---------------------------------------------------------------------------------------
1995
- Processing by ShopifyApp::SessionsController#create as HTML
1996
- Parameters: {"shop"=>"allowed.myshopify.com"}
1997
- Rendering inline template
1998
- Rendered inline template (0.3ms)
1999
- Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.0ms)
2000
-  (0.1ms) rollback transaction
2001
-  (0.1ms) begin transaction
2002
- ----------------------------------------
2003
- ShopifyAppWhitelistTest: test_is_working
2004
- ----------------------------------------
2005
-  (0.1ms) rollback transaction
2006
-  (0.1ms) begin transaction
2007
- --------------------------------------------------------------------
2008
- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
2009
- --------------------------------------------------------------------
2010
-  (0.0ms) rollback transaction
2011
-  (0.1ms) begin transaction
2012
- -----------------------------------------------------------------------
2013
- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
2014
- -----------------------------------------------------------------------
2015
-  (0.0ms) rollback transaction
2016
-  (0.0ms) begin transaction
2017
- ---------------------------------------------------------------------------------------
2018
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
2019
- ---------------------------------------------------------------------------------------
2020
- Processing by ShopifyApp::SessionsController#create as HTML
2021
- Parameters: {"shop"=>"allowed.myshopify.com"}
2022
- Rendered inline template (1.1ms)
2023
- Completed 200 OK in 10ms (Views: 7.6ms | ActiveRecord: 0.0ms)
2024
-  (0.1ms) rollback transaction
2025
-  (0.1ms) begin transaction
2026
- ---------------------------------------------------------------------------------------
2027
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
2028
- ---------------------------------------------------------------------------------------
2029
- Processing by ShopifyApp::SessionsController#new as HTML
2030
- Parameters: {"shop"=>nil}
2031
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (0.8ms)
2032
- Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
2033
-  (0.1ms) rollback transaction
2034
-  (0.2ms) begin transaction
2035
- ---------------------------------------------------------------------------------------------------------
2036
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
2037
- ---------------------------------------------------------------------------------------------------------
2038
- Processing by ShopifyApp::SessionsController#create as HTML
2039
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2040
- Redirected to http://test.host/404.html
2041
- Filter chain halted as :whitelist_check rendered or redirected
2042
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2043
-  (0.1ms) rollback transaction
2044
-  (0.1ms) begin transaction
2045
- ----------------------------------------------------------------------------------
2046
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
2047
- ----------------------------------------------------------------------------------
2048
- Processing by ShopifyApp::SessionsController#create as HTML
2049
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2050
- Redirected to http://test.host/404.html
2051
- Filter chain halted as :whitelist_check rendered or redirected
2052
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2053
- Processing by ShopifyApp::SessionsController#new as HTML
2054
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2055
- Redirected to http://test.host/404.html
2056
- Filter chain halted as :whitelist_check rendered or redirected
2057
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2058
- Processing by ShopifyApp::SessionsController#callback as HTML
2059
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2060
- Redirected to http://test.host/404.html
2061
- Filter chain halted as :whitelist_check rendered or redirected
2062
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2063
-  (0.1ms) rollback transaction
2064
-  (0.1ms) begin transaction
2065
- ---------------------------------------------------------------------------------------
2066
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
2067
- ---------------------------------------------------------------------------------------
2068
- Processing by ShopifyApp::SessionsController#new as HTML
2069
- Parameters: {"shop"=>""}
2070
- Rendering /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb
2071
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (1.9ms)
2072
- Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.0ms)
2073
-  (0.1ms) rollback transaction
2074
-  (0.2ms) begin transaction
2075
- ---------------------------------------------------------------------------------------
2076
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
2077
- ---------------------------------------------------------------------------------------
2078
- Processing by ShopifyApp::SessionsController#create as HTML
2079
- Parameters: {"shop"=>"allowed.myshopify.com"}
2080
- Rendering inline template
2081
- Rendered inline template (0.4ms)
2082
- Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.0ms)
2083
-  (0.1ms) rollback transaction
2084
-  (0.1ms) begin transaction
2085
- ---------------------------------------------------------------------------------------------------------
2086
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
2087
- ---------------------------------------------------------------------------------------------------------
2088
- Processing by ShopifyApp::SessionsController#create as HTML
2089
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2090
- Redirected to http://test.host/404.html
2091
- Filter chain halted as :whitelist_check rendered or redirected
2092
- Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
2093
-  (0.1ms) rollback transaction
2094
-  (0.1ms) begin transaction
2095
- ----------------------------------------------------------------------------------
2096
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
2097
- ----------------------------------------------------------------------------------
2098
- Processing by ShopifyApp::SessionsController#create as HTML
2099
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2100
- Redirected to http://test.host/404.html
2101
- Filter chain halted as :whitelist_check rendered or redirected
2102
- Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
2103
- Processing by ShopifyApp::SessionsController#new as HTML
2104
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2105
- Redirected to http://test.host/404.html
2106
- Filter chain halted as :whitelist_check rendered or redirected
2107
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2108
- Processing by ShopifyApp::SessionsController#callback as HTML
2109
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2110
- Redirected to http://test.host/404.html
2111
- Filter chain halted as :whitelist_check rendered or redirected
2112
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2113
-  (0.1ms) rollback transaction
2114
-  (0.1ms) begin transaction
2115
- --------------------------------------------------------------------
2116
- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
2117
- --------------------------------------------------------------------
2118
-  (0.0ms) rollback transaction
2119
-  (0.1ms) begin transaction
2120
- -----------------------------------------------------------------------
2121
- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
2122
- -----------------------------------------------------------------------
2123
-  (0.0ms) rollback transaction
2124
-  (0.1ms) begin transaction
2125
- ----------------------------------------
2126
- ShopifyAppWhitelistTest: test_is_working
2127
- ----------------------------------------
2128
-  (0.0ms) rollback transaction
2129
-  (0.1ms) begin transaction
2130
- ----------------------------------------------------------------------------------
2131
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
2132
- ----------------------------------------------------------------------------------
2133
- Processing by ShopifyApp::SessionsController#create as HTML
2134
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2135
- Redirected to http://test.host/404.html
2136
- Filter chain halted as :whitelist_check rendered or redirected
2137
- Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
2138
- Processing by ShopifyApp::SessionsController#new as HTML
2139
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2140
- Redirected to http://test.host/404.html
2141
- Filter chain halted as :whitelist_check rendered or redirected
2142
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2143
- Processing by ShopifyApp::SessionsController#callback as HTML
2144
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2145
- Redirected to http://test.host/404.html
2146
- Filter chain halted as :whitelist_check rendered or redirected
2147
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2148
-  (0.1ms) rollback transaction
2149
-  (0.1ms) begin transaction
2150
- ---------------------------------------------------------------------------------------
2151
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
2152
- ---------------------------------------------------------------------------------------
2153
- Processing by ShopifyApp::SessionsController#create as HTML
2154
- Parameters: {"shop"=>"allowed.myshopify.com"}
2155
- Rendering inline template
2156
- Rendered inline template (1.2ms)
2157
- Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.0ms)
2158
-  (0.2ms) rollback transaction
2159
-  (0.2ms) begin transaction
2160
- ---------------------------------------------------------------------------------------
2161
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
2162
- ---------------------------------------------------------------------------------------
2163
- Processing by ShopifyApp::SessionsController#new as HTML
2164
- Parameters: {"shop"=>""}
2165
- Rendering /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb
2166
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (0.6ms)
2167
- Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.0ms)
2168
-  (0.1ms) rollback transaction
2169
-  (0.1ms) begin transaction
2170
- ---------------------------------------------------------------------------------------------------------
2171
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
2172
- ---------------------------------------------------------------------------------------------------------
2173
- Processing by ShopifyApp::SessionsController#create as HTML
2174
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2175
- Redirected to http://test.host/404.html
2176
- Filter chain halted as :whitelist_check rendered or redirected
2177
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2178
-  (0.1ms) rollback transaction
2179
-  (0.1ms) begin transaction
2180
- --------------------------------------------------------------------
2181
- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
2182
- --------------------------------------------------------------------
2183
-  (0.1ms) rollback transaction
2184
-  (0.1ms) begin transaction
2185
- -----------------------------------------------------------------------
2186
- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
2187
- -----------------------------------------------------------------------
2188
-  (0.1ms) rollback transaction
2189
-  (0.1ms) begin transaction
2190
- ----------------------------------------
2191
- ShopifyAppWhitelistTest: test_is_working
2192
- ----------------------------------------
2193
-  (0.1ms) rollback transaction
2194
-  (0.2ms) begin transaction
2195
- ----------------------------------------------------------------------------------
2196
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
2197
- ----------------------------------------------------------------------------------
2198
- Processing by ShopifyApp::SessionsController#create as HTML
2199
- Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}}
2200
- Rendered inline template (3.0ms)
2201
- Completed 302 Found in 22ms (Views: 19.1ms | ActiveRecord: 0.0ms)
2202
-  (0.1ms) rollback transaction
2203
-  (0.1ms) begin transaction
2204
- ---------------------------------------------------------------------------------------
2205
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
2206
- ---------------------------------------------------------------------------------------
2207
- Processing by ShopifyApp::SessionsController#create as HTML
2208
- Parameters: {"params"=>{"shop"=>"allowed.myshopify.com"}}
2209
- Rendered inline template (0.6ms)
2210
- Completed 302 Found in 3ms (Views: 1.2ms | ActiveRecord: 0.0ms)
2211
-  (0.1ms) rollback transaction
2212
-  (0.1ms) begin transaction
2213
- ---------------------------------------------------------------------------------------------------------
2214
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
2215
- ---------------------------------------------------------------------------------------------------------
2216
- Processing by ShopifyApp::SessionsController#create as HTML
2217
- Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}}
2218
- Rendered inline template (0.3ms)
2219
- Completed 302 Found in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
2220
-  (0.1ms) rollback transaction
2221
-  (0.2ms) begin transaction
2222
- ---------------------------------------------------------------------------------------
2223
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
2224
- ---------------------------------------------------------------------------------------
2225
- Processing by ShopifyApp::SessionsController#new as HTML
2226
- Parameters: {"params"=>{"shop"=>nil}}
2227
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (0.7ms)
2228
- Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
2229
-  (0.1ms) rollback transaction
2230
-  (0.1ms) begin transaction
2231
- --------------------------------------------------------------------
2232
- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
2233
- --------------------------------------------------------------------
2234
-  (0.0ms) rollback transaction
2235
-  (0.0ms) begin transaction
2236
- -----------------------------------------------------------------------
2237
- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
2238
- -----------------------------------------------------------------------
2239
-  (0.0ms) rollback transaction
2240
-  (0.0ms) begin transaction
2241
- ----------------------------------------
2242
- ShopifyAppWhitelistTest: test_is_working
2243
- ----------------------------------------
2244
-  (0.0ms) rollback transaction
2245
-  (0.1ms) begin transaction
2246
- ---------------------------------------------------------------------------------------
2247
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
2248
- ---------------------------------------------------------------------------------------
2249
- Processing by ShopifyApp::SessionsController#create as HTML
2250
- Parameters: {"params"=>{"shop"=>"allowed.myshopify.com"}}
2251
- Rendered inline template (1.2ms)
2252
- Completed 302 Found in 9ms (Views: 7.6ms | ActiveRecord: 0.0ms)
2253
-  (0.2ms) rollback transaction
2254
-  (0.1ms) begin transaction
2255
- ---------------------------------------------------------------------------------------------------------
2256
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
2257
- ---------------------------------------------------------------------------------------------------------
2258
- Processing by ShopifyApp::SessionsController#create as HTML
2259
- Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}}
2260
- Rendered inline template (0.3ms)
2261
- Completed 302 Found in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
2262
-  (0.1ms) rollback transaction
2263
-  (0.1ms) begin transaction
2264
- ---------------------------------------------------------------------------------------
2265
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
2266
- ---------------------------------------------------------------------------------------
2267
- Processing by ShopifyApp::SessionsController#new as HTML
2268
- Parameters: {"params"=>{"shop"=>nil}}
2269
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (0.7ms)
2270
- Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
2271
-  (0.1ms) rollback transaction
2272
-  (0.1ms) begin transaction
2273
- ----------------------------------------------------------------------------------
2274
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
2275
- ----------------------------------------------------------------------------------
2276
- Processing by ShopifyApp::SessionsController#create as HTML
2277
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2278
- Redirected to http://test.host/404.html
2279
- Filter chain halted as :whitelist_check rendered or redirected
2280
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2281
- Processing by ShopifyApp::SessionsController#new as HTML
2282
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2283
- Redirected to http://test.host/404.html
2284
- Filter chain halted as :whitelist_check rendered or redirected
2285
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2286
- Processing by ShopifyApp::SessionsController#callback as HTML
2287
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2288
- Redirected to http://test.host/404.html
2289
- Filter chain halted as :whitelist_check rendered or redirected
2290
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2291
-  (0.1ms) rollback transaction
2292
-  (0.1ms) begin transaction
2293
- -----------------------------------------------------------------------
2294
- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
2295
- -----------------------------------------------------------------------
2296
-  (0.0ms) rollback transaction
2297
-  (0.0ms) begin transaction
2298
- --------------------------------------------------------------------
2299
- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
2300
- --------------------------------------------------------------------
2301
-  (0.0ms) rollback transaction
2302
-  (0.0ms) begin transaction
2303
- ----------------------------------------
2304
- ShopifyAppWhitelistTest: test_is_working
2305
- ----------------------------------------
2306
-  (0.0ms) rollback transaction
2307
-  (0.1ms) begin transaction
2308
- ---------------------------------------------------------------------------------------------------------
2309
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
2310
- ---------------------------------------------------------------------------------------------------------
2311
- Processing by ShopifyApp::SessionsController#create as HTML
2312
- Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}}
2313
- Rendered inline template (1.2ms)
2314
- Completed 302 Found in 10ms (Views: 8.2ms | ActiveRecord: 0.0ms)
2315
-  (0.1ms) rollback transaction
2316
-  (0.1ms) begin transaction
2317
- ---------------------------------------------------------------------------------------
2318
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
2319
- ---------------------------------------------------------------------------------------
2320
- Processing by ShopifyApp::SessionsController#new as HTML
2321
- Parameters: {"params"=>{"shop"=>nil}}
2322
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (0.6ms)
2323
- Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
2324
-  (0.1ms) rollback transaction
2325
-  (0.1ms) begin transaction
2326
- ---------------------------------------------------------------------------------------
2327
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
2328
- ---------------------------------------------------------------------------------------
2329
- Processing by ShopifyApp::SessionsController#create as HTML
2330
- Parameters: {"shop"=>"allowed.myshopify.com"}
2331
- Rendered inline template (0.3ms)
2332
- Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
2333
-  (0.1ms) rollback transaction
2334
-  (0.1ms) begin transaction
2335
- ----------------------------------------------------------------------------------
2336
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
2337
- ----------------------------------------------------------------------------------
2338
- Processing by ShopifyApp::SessionsController#create as HTML
2339
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2340
- Redirected to http://test.host/404.html
2341
- Filter chain halted as :whitelist_check rendered or redirected
2342
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2343
- Processing by ShopifyApp::SessionsController#new as HTML
2344
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2345
- Redirected to http://test.host/404.html
2346
- Filter chain halted as :whitelist_check rendered or redirected
2347
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2348
- Processing by ShopifyApp::SessionsController#callback as HTML
2349
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2350
- Redirected to http://test.host/404.html
2351
- Filter chain halted as :whitelist_check rendered or redirected
2352
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2353
-  (0.1ms) rollback transaction
2354
-  (0.1ms) begin transaction
2355
- --------------------------------------------------------------------
2356
- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
2357
- --------------------------------------------------------------------
2358
-  (0.1ms) rollback transaction
2359
-  (0.1ms) begin transaction
2360
- -----------------------------------------------------------------------
2361
- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
2362
- -----------------------------------------------------------------------
2363
-  (0.0ms) rollback transaction
2364
-  (0.1ms) begin transaction
2365
- ----------------------------------------
2366
- ShopifyAppWhitelistTest: test_is_working
2367
- ----------------------------------------
2368
-  (0.0ms) rollback transaction
2369
-  (0.1ms) begin transaction
2370
- --------------------------------------------------------------------
2371
- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
2372
- --------------------------------------------------------------------
2373
-  (0.1ms) rollback transaction
2374
-  (0.1ms) begin transaction
2375
- ----------------------------------------
2376
- ShopifyAppWhitelistTest: test_is_working
2377
- ----------------------------------------
2378
-  (0.0ms) rollback transaction
2379
-  (0.1ms) begin transaction
2380
- -----------------------------------------------------------------------
2381
- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
2382
- -----------------------------------------------------------------------
2383
-  (0.0ms) rollback transaction
2384
-  (0.0ms) begin transaction
2385
- ---------------------------------------------------------------------------------------
2386
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
2387
- ---------------------------------------------------------------------------------------
2388
-  (0.1ms) rollback transaction
2389
-  (0.1ms) begin transaction
2390
- ---------------------------------------------------------------------------------------
2391
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
2392
- ---------------------------------------------------------------------------------------
2393
- Processing by ShopifyApp::SessionsController#new as HTML
2394
- Parameters: {"params"=>{"shop"=>nil}}
2395
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (1.8ms)
2396
- Completed 200 OK in 11ms (Views: 10.7ms | ActiveRecord: 0.0ms)
2397
-  (0.1ms) rollback transaction
2398
-  (0.1ms) begin transaction
2399
- ----------------------------------------------------------------------------------
2400
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
2401
- ----------------------------------------------------------------------------------
2402
- Processing by ShopifyApp::SessionsController#create as HTML
2403
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2404
- Redirected to http://test.host/404.html
2405
- Filter chain halted as :whitelist_check rendered or redirected
2406
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2407
- Processing by ShopifyApp::SessionsController#new as HTML
2408
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2409
- Redirected to http://test.host/404.html
2410
- Filter chain halted as :whitelist_check rendered or redirected
2411
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2412
- Processing by ShopifyApp::SessionsController#callback as HTML
2413
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2414
- Redirected to http://test.host/404.html
2415
- Filter chain halted as :whitelist_check rendered or redirected
2416
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2417
-  (0.1ms) rollback transaction
2418
-  (0.1ms) begin transaction
2419
- ---------------------------------------------------------------------------------------------------------
2420
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
2421
- ---------------------------------------------------------------------------------------------------------
2422
- Processing by ShopifyApp::SessionsController#create as HTML
2423
- Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}}
2424
- Rendered inline template (0.3ms)
2425
- Completed 302 Found in 3ms (Views: 0.8ms | ActiveRecord: 0.0ms)
2426
-  (0.1ms) rollback transaction
2427
-  (0.1ms) begin transaction
2428
- ----------------------------------------
2429
- ShopifyAppWhitelistTest: test_is_working
2430
- ----------------------------------------
2431
-  (0.1ms) rollback transaction
2432
-  (0.1ms) begin transaction
2433
- --------------------------------------------------------------------
2434
- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
2435
- --------------------------------------------------------------------
2436
-  (0.0ms) rollback transaction
2437
-  (0.1ms) begin transaction
2438
- -----------------------------------------------------------------------
2439
- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
2440
- -----------------------------------------------------------------------
2441
-  (0.0ms) rollback transaction
2442
-  (0.0ms) begin transaction
2443
- ---------------------------------------------------------------------------------------
2444
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
2445
- ---------------------------------------------------------------------------------------
2446
-  (0.1ms) rollback transaction
2447
-  (0.1ms) begin transaction
2448
- ---------------------------------------------------------------------------------------
2449
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
2450
- ---------------------------------------------------------------------------------------
2451
- Processing by ShopifyApp::SessionsController#new as HTML
2452
- Parameters: {"params"=>{"shop"=>nil}}
2453
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (2.2ms)
2454
- Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 0.0ms)
2455
-  (0.1ms) rollback transaction
2456
-  (0.1ms) begin transaction
2457
- ---------------------------------------------------------------------------------------------------------
2458
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
2459
- ---------------------------------------------------------------------------------------------------------
2460
- Processing by ShopifyApp::SessionsController#create as HTML
2461
- Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}}
2462
- Rendered inline template (0.5ms)
2463
- Completed 302 Found in 4ms (Views: 1.6ms | ActiveRecord: 0.0ms)
2464
-  (0.1ms) rollback transaction
2465
-  (0.0ms) begin transaction
2466
- ----------------------------------------------------------------------------------
2467
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
2468
- ----------------------------------------------------------------------------------
2469
- Processing by ShopifyApp::SessionsController#create as HTML
2470
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2471
- Redirected to http://test.host/404.html
2472
- Filter chain halted as :whitelist_check rendered or redirected
2473
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2474
- Processing by ShopifyApp::SessionsController#new as HTML
2475
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2476
- Redirected to http://test.host/404.html
2477
- Filter chain halted as :whitelist_check rendered or redirected
2478
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2479
- Processing by ShopifyApp::SessionsController#callback as HTML
2480
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2481
- Redirected to http://test.host/404.html
2482
- Filter chain halted as :whitelist_check rendered or redirected
2483
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2484
-  (0.1ms) rollback transaction
2485
-  (0.1ms) begin transaction
2486
- --------------------------------------------------------------------
2487
- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
2488
- --------------------------------------------------------------------
2489
-  (0.1ms) rollback transaction
2490
-  (0.1ms) begin transaction
2491
- -----------------------------------------------------------------------
2492
- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
2493
- -----------------------------------------------------------------------
2494
-  (0.0ms) rollback transaction
2495
-  (0.1ms) begin transaction
2496
- ----------------------------------------
2497
- ShopifyAppWhitelistTest: test_is_working
2498
- ----------------------------------------
2499
-  (0.2ms) rollback transaction
2500
-  (0.1ms) begin transaction
2501
- ---------------------------------------------------------------------------------------
2502
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
2503
- ---------------------------------------------------------------------------------------
2504
-  (0.1ms) rollback transaction
2505
-  (0.1ms) begin transaction
2506
- ----------------------------------------------------------------------------------
2507
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
2508
- ----------------------------------------------------------------------------------
2509
- Processing by ShopifyApp::SessionsController#create as HTML
2510
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2511
- Redirected to http://test.host/404.html
2512
- Filter chain halted as :whitelist_check rendered or redirected
2513
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2514
- Processing by ShopifyApp::SessionsController#new as HTML
2515
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2516
- Redirected to http://test.host/404.html
2517
- Filter chain halted as :whitelist_check rendered or redirected
2518
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2519
- Processing by ShopifyApp::SessionsController#callback as HTML
2520
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2521
- Redirected to http://test.host/404.html
2522
- Filter chain halted as :whitelist_check rendered or redirected
2523
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2524
-  (0.1ms) rollback transaction
2525
-  (0.1ms) begin transaction
2526
- ---------------------------------------------------------------------------------------
2527
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
2528
- ---------------------------------------------------------------------------------------
2529
- Processing by ShopifyApp::SessionsController#new as HTML
2530
- Parameters: {"params"=>{"shop"=>nil}}
2531
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (2.3ms)
2532
- Completed 200 OK in 13ms (Views: 12.7ms | ActiveRecord: 0.0ms)
2533
-  (0.1ms) rollback transaction
2534
-  (0.0ms) begin transaction
2535
- ---------------------------------------------------------------------------------------------------------
2536
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
2537
- ---------------------------------------------------------------------------------------------------------
2538
- Processing by ShopifyApp::SessionsController#create as HTML
2539
- Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}}
2540
- Rendered inline template (0.4ms)
2541
- Completed 302 Found in 3ms (Views: 0.8ms | ActiveRecord: 0.0ms)
2542
-  (0.1ms) rollback transaction
2543
-  (0.1ms) begin transaction
2544
- ---------------------------------------------------------------------------------------
2545
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
2546
- ---------------------------------------------------------------------------------------
2547
-  (0.1ms) rollback transaction
2548
-  (0.1ms) begin transaction
2549
- ---------------------------------------------------------------------------------------
2550
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
2551
- ---------------------------------------------------------------------------------------
2552
- Processing by ShopifyApp::SessionsController#new as HTML
2553
- Parameters: {"params"=>{"shop"=>nil}}
2554
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (1.7ms)
2555
- Completed 200 OK in 12ms (Views: 11.4ms | ActiveRecord: 0.0ms)
2556
-  (0.1ms) rollback transaction
2557
-  (0.1ms) begin transaction
2558
- ---------------------------------------------------------------------------------------------------------
2559
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
2560
- ---------------------------------------------------------------------------------------------------------
2561
- Processing by ShopifyApp::SessionsController#create as HTML
2562
- Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}}
2563
- Rendered inline template (0.7ms)
2564
- Completed 302 Found in 4ms (Views: 1.4ms | ActiveRecord: 0.0ms)
2565
-  (0.1ms) rollback transaction
2566
-  (0.1ms) begin transaction
2567
- ----------------------------------------------------------------------------------
2568
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
2569
- ----------------------------------------------------------------------------------
2570
- Processing by ShopifyApp::SessionsController#create as HTML
2571
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2572
- Redirected to http://test.host/404.html
2573
- Filter chain halted as :whitelist_check rendered or redirected
2574
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2575
- Processing by ShopifyApp::SessionsController#new as HTML
2576
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2577
- Redirected to http://test.host/404.html
2578
- Filter chain halted as :whitelist_check rendered or redirected
2579
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2580
- Processing by ShopifyApp::SessionsController#callback as HTML
2581
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2582
- Redirected to http://test.host/404.html
2583
- Filter chain halted as :whitelist_check rendered or redirected
2584
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2585
-  (0.1ms) rollback transaction
2586
-  (0.1ms) begin transaction
2587
- -----------------------------------------------------------------------
2588
- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
2589
- -----------------------------------------------------------------------
2590
-  (0.1ms) rollback transaction
2591
-  (0.1ms) begin transaction
2592
- ----------------------------------------
2593
- ShopifyAppWhitelistTest: test_is_working
2594
- ----------------------------------------
2595
-  (0.0ms) rollback transaction
2596
-  (0.0ms) begin transaction
2597
- --------------------------------------------------------------------
2598
- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
2599
- --------------------------------------------------------------------
2600
-  (0.0ms) rollback transaction
2601
-  (0.1ms) begin transaction
2602
- -----------------------------------------------------------------------
2603
- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
2604
- -----------------------------------------------------------------------
2605
-  (0.1ms) rollback transaction
2606
-  (0.2ms) begin transaction
2607
- ----------------------------------------
2608
- ShopifyAppWhitelistTest: test_is_working
2609
- ----------------------------------------
2610
-  (0.0ms) rollback transaction
2611
-  (0.1ms) begin transaction
2612
- --------------------------------------------------------------------
2613
- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
2614
- --------------------------------------------------------------------
2615
-  (0.1ms) rollback transaction
2616
-  (0.0ms) begin transaction
2617
- ---------------------------------------------------------------------------------------
2618
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
2619
- ---------------------------------------------------------------------------------------
2620
- Processing by ShopifyApp::SessionsController#new as HTML
2621
- Parameters: {"params"=>{"shop"=>nil}}
2622
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (2.2ms)
2623
- Completed 200 OK in 10ms (Views: 10.0ms | ActiveRecord: 0.0ms)
2624
-  (0.1ms) rollback transaction
2625
-  (0.1ms) begin transaction
2626
- ----------------------------------------------------------------------------------
2627
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
2628
- ----------------------------------------------------------------------------------
2629
- Processing by ShopifyApp::SessionsController#create as HTML
2630
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2631
- Redirected to http://test.host/404.html
2632
- Filter chain halted as :whitelist_check rendered or redirected
2633
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2634
- Processing by ShopifyApp::SessionsController#new as HTML
2635
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2636
- Redirected to http://test.host/404.html
2637
- Filter chain halted as :whitelist_check rendered or redirected
2638
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2639
- Processing by ShopifyApp::SessionsController#callback as HTML
2640
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2641
- Redirected to http://test.host/404.html
2642
- Filter chain halted as :whitelist_check rendered or redirected
2643
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2644
-  (0.2ms) rollback transaction
2645
-  (0.1ms) begin transaction
2646
- ---------------------------------------------------------------------------------------
2647
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
2648
- ---------------------------------------------------------------------------------------
2649
- Processing by ShopifyApp::SessionsController#create as HTML
2650
- Parameters: {"shop"=>"allowed.myshopify.com"}
2651
- Rendered inline template (0.3ms)
2652
- Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.0ms)
2653
-  (0.1ms) rollback transaction
2654
-  (0.1ms) begin transaction
2655
- ---------------------------------------------------------------------------------------------------------
2656
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
2657
- ---------------------------------------------------------------------------------------------------------
2658
- Processing by ShopifyApp::SessionsController#create as HTML
2659
- Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}}
2660
- Rendered inline template (0.3ms)
2661
- Completed 302 Found in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
2662
-  (0.1ms) rollback transaction
2663
-  (0.1ms) begin transaction
2664
- ---------------------------------------------------------------------------------------
2665
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
2666
- ---------------------------------------------------------------------------------------
2667
- Processing by ShopifyApp::SessionsController#new as HTML
2668
- Parameters: {"shop"=>nil}
2669
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (3.0ms)
2670
- Completed 200 OK in 14ms (Views: 13.8ms | ActiveRecord: 0.0ms)
2671
-  (0.1ms) rollback transaction
2672
-  (0.1ms) begin transaction
2673
- ---------------------------------------------------------------------------------------
2674
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
2675
- ---------------------------------------------------------------------------------------
2676
- Processing by ShopifyApp::SessionsController#create as HTML
2677
- Parameters: {"shop"=>"allowed.myshopify.com"}
2678
- Rendered inline template (0.4ms)
2679
- Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.0ms)
2680
-  (0.1ms) rollback transaction
2681
-  (0.1ms) begin transaction
2682
- ----------------------------------------------------------------------------------
2683
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
2684
- ----------------------------------------------------------------------------------
2685
- Processing by ShopifyApp::SessionsController#create as HTML
2686
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2687
- Redirected to http://test.host/404.html
2688
- Filter chain halted as :whitelist_check rendered or redirected
2689
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2690
- Processing by ShopifyApp::SessionsController#new as HTML
2691
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2692
- Redirected to http://test.host/404.html
2693
- Filter chain halted as :whitelist_check rendered or redirected
2694
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2695
- Processing by ShopifyApp::SessionsController#callback as HTML
2696
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2697
- Redirected to http://test.host/404.html
2698
- Filter chain halted as :whitelist_check rendered or redirected
2699
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2700
-  (0.1ms) rollback transaction
2701
-  (0.1ms) begin transaction
2702
- ---------------------------------------------------------------------------------------------------------
2703
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
2704
- ---------------------------------------------------------------------------------------------------------
2705
- Processing by ShopifyApp::SessionsController#create as HTML
2706
- Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}}
2707
- Rendered inline template (0.3ms)
2708
- Completed 302 Found in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
2709
-  (0.1ms) rollback transaction
2710
-  (0.0ms) begin transaction
2711
- --------------------------------------------------------------------
2712
- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
2713
- --------------------------------------------------------------------
2714
-  (0.0ms) rollback transaction
2715
-  (0.1ms) begin transaction
2716
- -----------------------------------------------------------------------
2717
- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
2718
- -----------------------------------------------------------------------
2719
-  (0.1ms) rollback transaction
2720
-  (0.0ms) begin transaction
2721
- ----------------------------------------
2722
- ShopifyAppWhitelistTest: test_is_working
2723
- ----------------------------------------
2724
-  (0.1ms) rollback transaction
2725
-  (0.1ms) begin transaction
1
+  (0.2ms) begin transaction
2726
2
  ---------------------------------------------------------------------------------------
2727
3
  ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
2728
4
  ---------------------------------------------------------------------------------------
2729
5
  Processing by ShopifyApp::SessionsController#create as HTML
2730
- Parameters: {"shop"=>"allowed.myshopify.com"}
2731
- Rendered inline template (1.1ms)
2732
- Completed 200 OK in 10ms (Views: 8.2ms | ActiveRecord: 0.0ms)
2733
-  (0.1ms) rollback transaction
2734
-  (0.1ms) begin transaction
2735
- ----------------------------------------------------------------------------------
2736
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
2737
- ----------------------------------------------------------------------------------
2738
- Processing by ShopifyApp::SessionsController#create as HTML
2739
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2740
- Redirected to http://test.host/404.html
2741
- Filter chain halted as :whitelist_check rendered or redirected
2742
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2743
- Processing by ShopifyApp::SessionsController#new as HTML
2744
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2745
- Redirected to http://test.host/404.html
2746
- Filter chain halted as :whitelist_check rendered or redirected
2747
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2748
- Processing by ShopifyApp::SessionsController#callback as HTML
2749
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2750
- Redirected to http://test.host/404.html
2751
- Filter chain halted as :whitelist_check rendered or redirected
2752
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2753
-  (0.1ms) rollback transaction
2754
-  (0.1ms) begin transaction
2755
- ---------------------------------------------------------------------------------------
2756
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
2757
- ---------------------------------------------------------------------------------------
2758
- Processing by ShopifyApp::SessionsController#new as HTML
2759
- Parameters: {"shop"=>nil}
2760
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (0.8ms)
2761
- Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)
2762
-  (0.1ms) rollback transaction
2763
-  (0.1ms) begin transaction
2764
- ---------------------------------------------------------------------------------------------------------
2765
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
2766
- ---------------------------------------------------------------------------------------------------------
2767
- Processing by ShopifyApp::SessionsController#create as HTML
2768
- Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}}
2769
- Rendered inline template (0.3ms)
2770
- Completed 302 Found in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
2771
-  (0.1ms) rollback transaction
2772
-  (0.1ms) begin transaction
2773
- --------------------------------------------------------------------
2774
- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
2775
- --------------------------------------------------------------------
2776
-  (0.1ms) rollback transaction
2777
-  (0.3ms) begin transaction
2778
- -----------------------------------------------------------------------
2779
- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
2780
- -----------------------------------------------------------------------
2781
-  (0.1ms) rollback transaction
2782
-  (0.1ms) begin transaction
2783
- ----------------------------------------
2784
- ShopifyAppWhitelistTest: test_is_working
2785
- ----------------------------------------
2786
-  (0.1ms) rollback transaction
2787
-  (0.1ms) begin transaction
6
+ Parameters: {"shop"=>"allowed.myshopify.com"}
7
+ Rendering inline template
8
+ Rendered inline template (2.6ms)
9
+ Completed 200 OK in 22ms (Views: 10.5ms | ActiveRecord: 0.0ms)
10
+  (0.2ms) rollback transaction
11
+  (0.2ms) begin transaction
2788
12
  ---------------------------------------------------------------------------------------
2789
13
  ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
2790
14
  ---------------------------------------------------------------------------------------
2791
15
  Processing by ShopifyApp::SessionsController#new as HTML
2792
- Parameters: {"shop"=>nil}
2793
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (1.4ms)
2794
- Completed 200 OK in 9ms (Views: 8.9ms | ActiveRecord: 0.0ms)
2795
-  (0.1ms) rollback transaction
2796
-  (0.1ms) begin transaction
2797
- ---------------------------------------------------------------------------------------------------------
2798
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
2799
- ---------------------------------------------------------------------------------------------------------
2800
- Processing by ShopifyApp::SessionsController#create as HTML
2801
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2802
- Redirected to http://test.host/404.html
2803
- Filter chain halted as :whitelist_check rendered or redirected
2804
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2805
-  (0.1ms) rollback transaction
2806
-  (0.1ms) begin transaction
16
+ Parameters: {"shop"=>""}
17
+ Rendering /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.7/app/views/shopify_app/sessions/new.html.erb
18
+ Rendered /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.7/app/views/shopify_app/sessions/new.html.erb (1.8ms)
19
+ Completed 200 OK in 20ms (Views: 3.5ms | ActiveRecord: 0.0ms)
20
+  (0.6ms) rollback transaction
21
+  (0.3ms) begin transaction
2807
22
  ----------------------------------------------------------------------------------
2808
23
  ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
2809
24
  ----------------------------------------------------------------------------------
@@ -2811,173 +26,68 @@ Processing by ShopifyApp::SessionsController#create as HTML
2811
26
  Parameters: {"shop"=>"not-allowed.myshopify.com"}
2812
27
  Redirected to http://test.host/404.html
2813
28
  Filter chain halted as :whitelist_check rendered or redirected
2814
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
29
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
2815
30
  Processing by ShopifyApp::SessionsController#new as HTML
2816
31
  Parameters: {"shop"=>"not-allowed.myshopify.com"}
2817
32
  Redirected to http://test.host/404.html
2818
33
  Filter chain halted as :whitelist_check rendered or redirected
2819
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
34
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2820
35
  Processing by ShopifyApp::SessionsController#callback as HTML
2821
36
  Parameters: {"shop"=>"not-allowed.myshopify.com"}
2822
37
  Redirected to http://test.host/404.html
2823
38
  Filter chain halted as :whitelist_check rendered or redirected
2824
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2825
-  (0.1ms) rollback transaction
2826
-  (0.1ms) begin transaction
2827
- ---------------------------------------------------------------------------------------
2828
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
2829
- ---------------------------------------------------------------------------------------
2830
- Processing by ShopifyApp::SessionsController#create as HTML
2831
- Parameters: {"shop"=>"allowed.myshopify.com"}
2832
- Rendered inline template (0.5ms)
2833
- Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.0ms)
2834
-  (0.1ms) rollback transaction
2835
-  (0.0ms) begin transaction
2836
- --------------------------------------------------------------------
2837
- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
2838
- --------------------------------------------------------------------
2839
-  (0.0ms) rollback transaction
2840
-  (0.1ms) begin transaction
2841
- -----------------------------------------------------------------------
2842
- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
2843
- -----------------------------------------------------------------------
2844
-  (0.0ms) rollback transaction
2845
-  (0.0ms) begin transaction
2846
- ----------------------------------------
2847
- ShopifyAppWhitelistTest: test_is_working
2848
- ----------------------------------------
2849
-  (0.0ms) rollback transaction
2850
-  (0.1ms) begin transaction
39
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
40
+  (0.2ms) rollback transaction
41
+  (0.2ms) begin transaction
2851
42
  ---------------------------------------------------------------------------------------------------------
2852
43
  ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
2853
44
  ---------------------------------------------------------------------------------------------------------
2854
45
  Processing by ShopifyApp::SessionsController#create as HTML
2855
- Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}}
2856
- Rendered inline template (1.2ms)
2857
- Completed 302 Found in 9ms (Views: 7.3ms | ActiveRecord: 0.0ms)
2858
-  (0.1ms) rollback transaction
2859
-  (0.1ms) begin transaction
2860
- ----------------------------------------------------------------------------------
2861
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
2862
- ----------------------------------------------------------------------------------
2863
- Processing by ShopifyApp::SessionsController#create as HTML
2864
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2865
- Redirected to http://test.host/404.html
2866
- Filter chain halted as :whitelist_check rendered or redirected
2867
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2868
- Processing by ShopifyApp::SessionsController#new as HTML
2869
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2870
- Redirected to http://test.host/404.html
2871
- Filter chain halted as :whitelist_check rendered or redirected
2872
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2873
- Processing by ShopifyApp::SessionsController#callback as HTML
2874
46
  Parameters: {"shop"=>"not-allowed.myshopify.com"}
2875
47
  Redirected to http://test.host/404.html
2876
48
  Filter chain halted as :whitelist_check rendered or redirected
2877
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2878
-  (0.1ms) rollback transaction
2879
-  (0.1ms) begin transaction
2880
- ---------------------------------------------------------------------------------------
2881
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
2882
- ---------------------------------------------------------------------------------------
2883
- Processing by ShopifyApp::SessionsController#create as HTML
2884
- Parameters: {"shop"=>"allowed.myshopify.com"}
2885
- Rendered inline template (0.6ms)
2886
- Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)
2887
-  (0.1ms) rollback transaction
2888
-  (0.1ms) begin transaction
2889
- ---------------------------------------------------------------------------------------
2890
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
2891
- ---------------------------------------------------------------------------------------
2892
- Processing by ShopifyApp::SessionsController#new as HTML
2893
- Parameters: {"shop"=>nil}
2894
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (1.2ms)
2895
- Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)
2896
-  (0.1ms) rollback transaction
2897
-  (0.1ms) begin transaction
49
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
50
+  (0.3ms) rollback transaction
51
+  (0.4ms) begin transaction
52
+ -----------------------------------------------------------------------
53
+ ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
54
+ -----------------------------------------------------------------------
55
+  (0.4ms) rollback transaction
56
+  (0.2ms) begin transaction
2898
57
  --------------------------------------------------------------------
2899
58
  ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
2900
59
  --------------------------------------------------------------------
2901
-  (0.1ms) rollback transaction
2902
-  (0.1ms) begin transaction
60
+  (0.1ms) rollback transaction
61
+  (0.4ms) begin transaction
2903
62
  ----------------------------------------
2904
63
  ShopifyAppWhitelistTest: test_is_working
2905
64
  ----------------------------------------
2906
-  (0.1ms) rollback transaction
2907
-  (0.0ms) begin transaction
2908
- -----------------------------------------------------------------------
2909
- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
2910
- -----------------------------------------------------------------------
2911
-  (0.0ms) rollback transaction
2912
-  (0.1ms) begin transaction
2913
- ---------------------------------------------------------------------------------------------------------
2914
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
2915
- ---------------------------------------------------------------------------------------------------------
2916
- Processing by ShopifyApp::SessionsController#create as HTML
2917
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2918
- Redirected to http://test.host/404.html
2919
- Filter chain halted as :whitelist_check rendered or redirected
2920
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2921
-  (0.1ms) rollback transaction
2922
-  (0.1ms) begin transaction
2923
- ---------------------------------------------------------------------------------------
2924
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
2925
- ---------------------------------------------------------------------------------------
2926
-  (0.0ms) rollback transaction
2927
-  (0.1ms) begin transaction
2928
- ---------------------------------------------------------------------------------------
2929
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
2930
- ---------------------------------------------------------------------------------------
2931
- Processing by ShopifyApp::SessionsController#new as HTML
2932
- Parameters: {"shop"=>nil}
2933
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (2.5ms)
2934
- Completed 200 OK in 16ms (Views: 16.0ms | ActiveRecord: 0.0ms)
2935
-  (0.1ms) rollback transaction
2936
-  (0.0ms) begin transaction
2937
- ----------------------------------------------------------------------------------
2938
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
2939
- ----------------------------------------------------------------------------------
2940
- Processing by ShopifyApp::SessionsController#create as HTML
2941
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2942
- Redirected to http://test.host/404.html
2943
- Filter chain halted as :whitelist_check rendered or redirected
2944
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2945
- Processing by ShopifyApp::SessionsController#new as HTML
2946
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2947
- Redirected to http://test.host/404.html
2948
- Filter chain halted as :whitelist_check rendered or redirected
2949
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2950
- Processing by ShopifyApp::SessionsController#callback as HTML
2951
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
2952
- Redirected to http://test.host/404.html
2953
- Filter chain halted as :whitelist_check rendered or redirected
2954
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2955
-  (0.2ms) rollback transaction
2956
-  (0.1ms) begin transaction
65
+  (0.1ms) rollback transaction
66
+  (0.2ms) begin transaction
2957
67
  --------------------------------------------------------------------
2958
68
  ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
2959
69
  --------------------------------------------------------------------
2960
-  (0.1ms) rollback transaction
2961
-  (0.1ms) begin transaction
70
+  (0.0ms) rollback transaction
71
+  (0.0ms) begin transaction
2962
72
  -----------------------------------------------------------------------
2963
73
  ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
2964
74
  -----------------------------------------------------------------------
2965
-  (0.0ms) rollback transaction
2966
-  (0.1ms) begin transaction
75
+  (0.1ms) rollback transaction
76
+  (0.0ms) begin transaction
2967
77
  ----------------------------------------
2968
78
  ShopifyAppWhitelistTest: test_is_working
2969
79
  ----------------------------------------
2970
80
   (0.0ms) rollback transaction
2971
-  (0.1ms) begin transaction
81
+  (0.0ms) begin transaction
2972
82
  ---------------------------------------------------------------------------------------
2973
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
83
+ ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
2974
84
  ---------------------------------------------------------------------------------------
2975
- Processing by ShopifyApp::SessionsController#create as HTML
2976
- Parameters: {"shop"=>"allowed.myshopify.com"}
2977
- Rendered inline template (1.2ms)
2978
- Completed 200 OK in 10ms (Views: 7.5ms | ActiveRecord: 0.0ms)
85
+ Processing by ShopifyApp::SessionsController#new as HTML
86
+ Parameters: {"shop"=>nil}
87
+ Rendered /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.8/app/views/shopify_app/sessions/new.html.erb (12.4ms)
88
+ Completed 200 OK in 101ms (Views: 100.7ms | ActiveRecord: 0.0ms)
2979
89
   (0.1ms) rollback transaction
2980
-  (0.1ms) begin transaction
90
+  (0.0ms) begin transaction
2981
91
  ---------------------------------------------------------------------------------------------------------
2982
92
  ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
2983
93
  ---------------------------------------------------------------------------------------------------------
@@ -2988,15 +98,6 @@ Filter chain halted as :whitelist_check rendered or redirected
2988
98
  Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2989
99
   (0.1ms) rollback transaction
2990
100
   (0.1ms) begin transaction
2991
- ---------------------------------------------------------------------------------------
2992
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
2993
- ---------------------------------------------------------------------------------------
2994
- Processing by ShopifyApp::SessionsController#new as HTML
2995
- Parameters: {"shop"=>nil}
2996
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (1.7ms)
2997
- Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)
2998
-  (0.1ms) rollback transaction
2999
-  (0.2ms) begin transaction
3000
101
  ----------------------------------------------------------------------------------
3001
102
  ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
3002
103
  ----------------------------------------------------------------------------------
@@ -3004,127 +105,61 @@ Processing by ShopifyApp::SessionsController#create as HTML
3004
105
  Parameters: {"shop"=>"not-allowed.myshopify.com"}
3005
106
  Redirected to http://test.host/404.html
3006
107
  Filter chain halted as :whitelist_check rendered or redirected
3007
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
108
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
3008
109
  Processing by ShopifyApp::SessionsController#new as HTML
3009
110
  Parameters: {"shop"=>"not-allowed.myshopify.com"}
3010
111
  Redirected to http://test.host/404.html
3011
112
  Filter chain halted as :whitelist_check rendered or redirected
3012
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
113
+ Completed 302 Found in 9ms (ActiveRecord: 0.0ms)
3013
114
  Processing by ShopifyApp::SessionsController#callback as HTML
3014
115
  Parameters: {"shop"=>"not-allowed.myshopify.com"}
3015
116
  Redirected to http://test.host/404.html
3016
117
  Filter chain halted as :whitelist_check rendered or redirected
3017
118
  Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
3018
119
   (0.1ms) rollback transaction
3019
-  (0.1ms) begin transaction
3020
- ----------------------------------------
3021
- ShopifyAppWhitelistTest: test_is_working
3022
- ----------------------------------------
3023
-  (0.1ms) rollback transaction
3024
-  (0.1ms) begin transaction
3025
- --------------------------------------------------------------------
3026
- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
3027
- --------------------------------------------------------------------
3028
-  (0.1ms) rollback transaction
3029
-  (0.1ms) begin transaction
3030
- -----------------------------------------------------------------------
3031
- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
3032
- -----------------------------------------------------------------------
3033
-  (0.1ms) rollback transaction
3034
-  (0.1ms) begin transaction
3035
- ---------------------------------------------------------------------------------------------------------
3036
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
3037
- ---------------------------------------------------------------------------------------------------------
3038
- Processing by ShopifyApp::SessionsController#create as HTML
3039
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
3040
- Redirected to http://test.host/404.html
3041
- Filter chain halted as :whitelist_check rendered or redirected
3042
- Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
3043
-  (0.1ms) rollback transaction
3044
-  (0.1ms) begin transaction
120
+  (0.2ms) begin transaction
3045
121
  ---------------------------------------------------------------------------------------
3046
122
  ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
3047
123
  ---------------------------------------------------------------------------------------
3048
124
  Processing by ShopifyApp::SessionsController#create as HTML
3049
125
  Parameters: {"shop"=>"allowed.myshopify.com"}
3050
- Rendering inline template
3051
- Rendered inline template (2.3ms)
3052
- Completed 200 OK in 11ms (Views: 8.5ms | ActiveRecord: 0.0ms)
3053
-  (0.2ms) rollback transaction
3054
-  (0.2ms) begin transaction
3055
- ---------------------------------------------------------------------------------------
3056
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
3057
- ---------------------------------------------------------------------------------------
3058
- Processing by ShopifyApp::SessionsController#new as HTML
3059
- Parameters: {"parmas"=>{"shop"=>""}}
3060
- Rendering /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb
3061
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (1.0ms)
3062
- Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 0.0ms)
3063
-  (0.1ms) rollback transaction
3064
-  (0.1ms) begin transaction
3065
- ----------------------------------------------------------------------------------
3066
- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
3067
- ----------------------------------------------------------------------------------
3068
- Processing by ShopifyApp::SessionsController#create as HTML
3069
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
3070
- Redirected to http://test.host/404.html
3071
- Filter chain halted as :whitelist_check rendered or redirected
3072
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
3073
- Processing by ShopifyApp::SessionsController#new as HTML
3074
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
3075
- Redirected to http://test.host/404.html
3076
- Filter chain halted as :whitelist_check rendered or redirected
3077
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
3078
- Processing by ShopifyApp::SessionsController#callback as HTML
3079
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
3080
- Redirected to http://test.host/404.html
3081
- Filter chain halted as :whitelist_check rendered or redirected
3082
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
3083
-  (0.1ms) rollback transaction
126
+ Rendered inline template (0.7ms)
127
+ Completed 200 OK in 59ms (Views: 1.7ms | ActiveRecord: 0.0ms)
128
+  (0.7ms) rollback transaction
3084
129
   (0.1ms) begin transaction
3085
130
  --------------------------------------------------------------------
3086
131
  ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
3087
132
  --------------------------------------------------------------------
3088
133
   (0.0ms) rollback transaction
3089
-  (0.1ms) begin transaction
3090
- -----------------------------------------------------------------------
3091
- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
3092
- -----------------------------------------------------------------------
3093
-  (0.0ms) rollback transaction
3094
-  (0.1ms) begin transaction
134
+  (0.0ms) begin transaction
3095
135
  ----------------------------------------
3096
136
  ShopifyAppWhitelistTest: test_is_working
3097
137
  ----------------------------------------
3098
138
   (0.0ms) rollback transaction
3099
-  (0.1ms) begin transaction
139
+  (0.0ms) begin transaction
140
+ -----------------------------------------------------------------------
141
+ ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
142
+ -----------------------------------------------------------------------
143
+  (0.1ms) rollback transaction
144
+  (0.5ms) begin transaction
3100
145
  ---------------------------------------------------------------------------------------
3101
146
  ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
3102
147
  ---------------------------------------------------------------------------------------
3103
148
  Processing by ShopifyApp::SessionsController#create as HTML
3104
149
  Parameters: {"shop"=>"allowed.myshopify.com"}
3105
150
  Rendering inline template
3106
- Rendered inline template (1.2ms)
3107
- Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.0ms)
151
+ Rendered inline template (2.1ms)
152
+ Completed 200 OK in 19ms (Views: 8.8ms | ActiveRecord: 0.0ms)
3108
153
   (0.1ms) rollback transaction
3109
-  (0.1ms) begin transaction
154
+  (0.0ms) begin transaction
3110
155
  ---------------------------------------------------------------------------------------
3111
156
  ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
3112
157
  ---------------------------------------------------------------------------------------
3113
158
  Processing by ShopifyApp::SessionsController#new as HTML
3114
159
  Parameters: {"shop"=>""}
3115
- Rendering /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb
3116
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (0.6ms)
3117
- Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.0ms)
3118
-  (0.1ms) rollback transaction
3119
-  (0.1ms) begin transaction
3120
- ---------------------------------------------------------------------------------------------------------
3121
- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
3122
- ---------------------------------------------------------------------------------------------------------
3123
- Processing by ShopifyApp::SessionsController#create as HTML
3124
- Parameters: {"shop"=>"not-allowed.myshopify.com"}
3125
- Redirected to http://test.host/404.html
3126
- Filter chain halted as :whitelist_check rendered or redirected
3127
- Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
160
+ Rendering /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.9/app/views/shopify_app/sessions/new.html.erb
161
+ Rendered /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.9/app/views/shopify_app/sessions/new.html.erb (0.9ms)
162
+ Completed 200 OK in 7ms (Views: 1.5ms | ActiveRecord: 0.0ms)
3128
163
   (0.1ms) rollback transaction
3129
164
   (0.1ms) begin transaction
3130
165
  ----------------------------------------------------------------------------------
@@ -3134,7 +169,7 @@ Processing by ShopifyApp::SessionsController#create as HTML
3134
169
  Parameters: {"shop"=>"not-allowed.myshopify.com"}
3135
170
  Redirected to http://test.host/404.html
3136
171
  Filter chain halted as :whitelist_check rendered or redirected
3137
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
172
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
3138
173
  Processing by ShopifyApp::SessionsController#new as HTML
3139
174
  Parameters: {"shop"=>"not-allowed.myshopify.com"}
3140
175
  Redirected to http://test.host/404.html
@@ -3146,12 +181,17 @@ Redirected to http://test.host/404.html
3146
181
  Filter chain halted as :whitelist_check rendered or redirected
3147
182
  Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
3148
183
   (0.1ms) rollback transaction
3149
-  (0.1ms) begin transaction
3150
- --------------------------------------------------------------------
3151
- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
3152
- --------------------------------------------------------------------
184
+  (0.5ms) begin transaction
185
+ ---------------------------------------------------------------------------------------------------------
186
+ ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
187
+ ---------------------------------------------------------------------------------------------------------
188
+ Processing by ShopifyApp::SessionsController#create as HTML
189
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
190
+ Redirected to http://test.host/404.html
191
+ Filter chain halted as :whitelist_check rendered or redirected
192
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
3153
193
   (0.1ms) rollback transaction
3154
-  (0.1ms) begin transaction
194
+  (0.2ms) begin transaction
3155
195
  -----------------------------------------------------------------------
3156
196
  ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
3157
197
  -----------------------------------------------------------------------
@@ -3161,30 +201,20 @@ ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
3161
201
  ShopifyAppWhitelistTest: test_is_working
3162
202
  ----------------------------------------
3163
203
   (0.1ms) rollback transaction
3164
-  (0.2ms) begin transaction
204
+  (0.0ms) begin transaction
3165
205
  --------------------------------------------------------------------
3166
206
  ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
3167
207
  --------------------------------------------------------------------
3168
-  (0.1ms) rollback transaction
3169
-  (0.1ms) begin transaction
3170
- ----------------------------------------
3171
- ShopifyAppWhitelistTest: test_is_working
3172
- ----------------------------------------
3173
-  (0.1ms) rollback transaction
3174
-  (0.1ms) begin transaction
3175
- -----------------------------------------------------------------------
3176
- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
3177
- -----------------------------------------------------------------------
3178
-  (0.1ms) rollback transaction
208
+  (0.0ms) rollback transaction
3179
209
   (0.1ms) begin transaction
3180
210
  ---------------------------------------------------------------------------------------
3181
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
211
+ ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
3182
212
  ---------------------------------------------------------------------------------------
3183
- Processing by ShopifyApp::SessionsController#new as HTML
3184
- Parameters: {"shop"=>""}
3185
- Rendering /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb
3186
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (2.2ms)
3187
- Completed 200 OK in 10ms (Views: 7.2ms | ActiveRecord: 0.0ms)
213
+ Processing by ShopifyApp::SessionsController#create as HTML
214
+ Parameters: {"shop"=>"allowed.myshopify.com"}
215
+ Rendering inline template
216
+ Rendered inline template (3.9ms)
217
+ Completed 200 OK in 42ms (Views: 13.0ms | ActiveRecord: 0.0ms)
3188
218
   (0.1ms) rollback transaction
3189
219
   (0.1ms) begin transaction
3190
220
  ---------------------------------------------------------------------------------------------------------
@@ -3194,8 +224,8 @@ Processing by ShopifyApp::SessionsController#create as HTML
3194
224
  Parameters: {"shop"=>"not-allowed.myshopify.com"}
3195
225
  Redirected to http://test.host/404.html
3196
226
  Filter chain halted as :whitelist_check rendered or redirected
3197
- Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
3198
-  (0.3ms) rollback transaction
227
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
228
+  (0.1ms) rollback transaction
3199
229
   (0.1ms) begin transaction
3200
230
  ----------------------------------------------------------------------------------
3201
231
  ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
@@ -3209,57 +239,39 @@ Processing by ShopifyApp::SessionsController#new as HTML
3209
239
  Parameters: {"shop"=>"not-allowed.myshopify.com"}
3210
240
  Redirected to http://test.host/404.html
3211
241
  Filter chain halted as :whitelist_check rendered or redirected
3212
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
242
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
3213
243
  Processing by ShopifyApp::SessionsController#callback as HTML
3214
244
  Parameters: {"shop"=>"not-allowed.myshopify.com"}
3215
245
  Redirected to http://test.host/404.html
3216
246
  Filter chain halted as :whitelist_check rendered or redirected
3217
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
247
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
3218
248
   (0.1ms) rollback transaction
3219
-  (0.2ms) begin transaction
249
+  (0.1ms) begin transaction
3220
250
  ---------------------------------------------------------------------------------------
3221
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
251
+ ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
3222
252
  ---------------------------------------------------------------------------------------
3223
- Processing by ShopifyApp::SessionsController#create as HTML
3224
- Parameters: {"shop"=>"allowed.myshopify.com"}
3225
- Rendering inline template
3226
- Rendered inline template (0.4ms)
3227
- Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.0ms)
253
+ Processing by ShopifyApp::SessionsController#new as HTML
254
+ Parameters: {"shop"=>""}
255
+ Rendering /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.9/app/views/shopify_app/sessions/new.html.erb
256
+ Rendered /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.9/app/views/shopify_app/sessions/new.html.erb (0.6ms)
257
+ Completed 200 OK in 7ms (Views: 1.3ms | ActiveRecord: 0.0ms)
3228
258
   (0.1ms) rollback transaction
3229
259
   (0.1ms) begin transaction
3230
260
  --------------------------------------------------------------------
3231
261
  ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
3232
262
  --------------------------------------------------------------------
3233
263
   (0.1ms) rollback transaction
3234
-  (0.1ms) begin transaction
264
+  (0.0ms) begin transaction
3235
265
  -----------------------------------------------------------------------
3236
266
  ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
3237
267
  -----------------------------------------------------------------------
3238
-  (0.3ms) rollback transaction
3239
-  (0.1ms) begin transaction
268
+  (0.0ms) rollback transaction
269
+  (0.0ms) begin transaction
3240
270
  ----------------------------------------
3241
271
  ShopifyAppWhitelistTest: test_is_working
3242
272
  ----------------------------------------
3243
-  (0.0ms) rollback transaction
3244
-  (0.1ms) begin transaction
3245
- ---------------------------------------------------------------------------------------
3246
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
3247
- ---------------------------------------------------------------------------------------
3248
- Processing by ShopifyApp::SessionsController#create as HTML
3249
- Parameters: {"shop"=>"allowed.myshopify.com"}
3250
- Rendered inline template (1.8ms)
3251
- Completed 200 OK in 12ms (Views: 9.8ms | ActiveRecord: 0.0ms)
3252
273
   (0.1ms) rollback transaction
3253
-  (0.1ms) begin transaction
3254
- ---------------------------------------------------------------------------------------
3255
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
3256
- ---------------------------------------------------------------------------------------
3257
- Processing by ShopifyApp::SessionsController#new as HTML
3258
- Parameters: {"shop"=>nil}
3259
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (1.4ms)
3260
- Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)
3261
-  (0.1ms) rollback transaction
3262
-  (0.1ms) begin transaction
274
+  (0.0ms) begin transaction
3263
275
  ---------------------------------------------------------------------------------------------------------
3264
276
  ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
3265
277
  ---------------------------------------------------------------------------------------------------------
@@ -3267,9 +279,27 @@ Processing by ShopifyApp::SessionsController#create as HTML
3267
279
  Parameters: {"shop"=>"not-allowed.myshopify.com"}
3268
280
  Redirected to http://test.host/404.html
3269
281
  Filter chain halted as :whitelist_check rendered or redirected
3270
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
282
+ Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
3271
283
   (0.1ms) rollback transaction
3272
284
   (0.1ms) begin transaction
285
+ ---------------------------------------------------------------------------------------
286
+ ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
287
+ ---------------------------------------------------------------------------------------
288
+ Processing by ShopifyApp::SessionsController#new as HTML
289
+ Parameters: {"shop"=>nil}
290
+ Rendered /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.8/app/views/shopify_app/sessions/new.html.erb (7.7ms)
291
+ Completed 200 OK in 63ms (Views: 63.0ms | ActiveRecord: 0.0ms)
292
+  (0.2ms) rollback transaction
293
+  (0.0ms) begin transaction
294
+ ---------------------------------------------------------------------------------------
295
+ ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
296
+ ---------------------------------------------------------------------------------------
297
+ Processing by ShopifyApp::SessionsController#create as HTML
298
+ Parameters: {"shop"=>"allowed.myshopify.com"}
299
+ Rendered inline template (0.3ms)
300
+ Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.0ms)
301
+  (0.1ms) rollback transaction
302
+  (0.0ms) begin transaction
3273
303
  ----------------------------------------------------------------------------------
3274
304
  ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
3275
305
  ----------------------------------------------------------------------------------
@@ -3289,16 +319,17 @@ Redirected to http://test.host/404.html
3289
319
  Filter chain halted as :whitelist_check rendered or redirected
3290
320
  Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
3291
321
   (0.1ms) rollback transaction
3292
-  (0.1ms) begin transaction
322
+  (0.2ms) begin transaction
3293
323
  ---------------------------------------------------------------------------------------
3294
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
324
+ ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
3295
325
  ---------------------------------------------------------------------------------------
3296
- Processing by ShopifyApp::SessionsController#create as HTML
3297
- Parameters: {"shop"=>"allowed.myshopify.com"}
3298
- Rendered inline template (1.9ms)
3299
- Completed 200 OK in 15ms (Views: 12.0ms | ActiveRecord: 0.0ms)
3300
-  (0.1ms) rollback transaction
3301
-  (0.2ms) begin transaction
326
+ Processing by ShopifyApp::SessionsController#new as HTML
327
+ Parameters: {"shop"=>""}
328
+ Rendering /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.9/app/views/shopify_app/sessions/new.html.erb
329
+ Rendered /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.9/app/views/shopify_app/sessions/new.html.erb (5.9ms)
330
+ Completed 200 OK in 34ms (Views: 19.8ms | ActiveRecord: 0.0ms)
331
+  (0.1ms) rollback transaction
332
+  (0.8ms) begin transaction
3302
333
  ---------------------------------------------------------------------------------------------------------
3303
334
  ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
3304
335
  ---------------------------------------------------------------------------------------------------------
@@ -3307,17 +338,18 @@ Processing by ShopifyApp::SessionsController#create as HTML
3307
338
  Redirected to http://test.host/404.html
3308
339
  Filter chain halted as :whitelist_check rendered or redirected
3309
340
  Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
3310
-  (0.1ms) rollback transaction
3311
-  (0.1ms) begin transaction
341
+  (0.1ms) rollback transaction
342
+  (0.1ms) begin transaction
3312
343
  ---------------------------------------------------------------------------------------
3313
- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
344
+ ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
3314
345
  ---------------------------------------------------------------------------------------
3315
- Processing by ShopifyApp::SessionsController#new as HTML
3316
- Parameters: {"shop"=>nil}
3317
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (1.4ms)
3318
- Completed 200 OK in 8ms (Views: 5.0ms | ActiveRecord: 0.0ms)
3319
-  (0.1ms) rollback transaction
3320
-  (0.1ms) begin transaction
346
+ Processing by ShopifyApp::SessionsController#create as HTML
347
+ Parameters: {"shop"=>"allowed.myshopify.com"}
348
+ Rendering inline template
349
+ Rendered inline template (0.3ms)
350
+ Completed 200 OK in 13ms (Views: 1.0ms | ActiveRecord: 0.0ms)
351
+  (0.1ms) rollback transaction
352
+  (0.1ms) begin transaction
3321
353
  ----------------------------------------------------------------------------------
3322
354
  ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
3323
355
  ----------------------------------------------------------------------------------
@@ -3325,7 +357,7 @@ Processing by ShopifyApp::SessionsController#create as HTML
3325
357
  Parameters: {"shop"=>"not-allowed.myshopify.com"}
3326
358
  Redirected to http://test.host/404.html
3327
359
  Filter chain halted as :whitelist_check rendered or redirected
3328
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
360
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
3329
361
  Processing by ShopifyApp::SessionsController#new as HTML
3330
362
  Parameters: {"shop"=>"not-allowed.myshopify.com"}
3331
363
  Redirected to http://test.host/404.html
@@ -3336,32 +368,58 @@ Processing by ShopifyApp::SessionsController#callback as HTML
3336
368
  Redirected to http://test.host/404.html
3337
369
  Filter chain halted as :whitelist_check rendered or redirected
3338
370
  Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
3339
-  (0.1ms) rollback transaction
3340
-  (0.1ms) begin transaction
371
+  (0.5ms) rollback transaction
372
+  (0.1ms) begin transaction
373
+ --------------------------------------------------------------------
374
+ ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
375
+ --------------------------------------------------------------------
376
+  (0.1ms) rollback transaction
377
+  (0.1ms) begin transaction
3341
378
  -----------------------------------------------------------------------
3342
379
  ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
3343
380
  -----------------------------------------------------------------------
3344
-  (0.1ms) rollback transaction
3345
-  (0.2ms) begin transaction
381
+  (0.1ms) rollback transaction
382
+  (0.1ms) begin transaction
383
+ ----------------------------------------
384
+ ShopifyAppWhitelistTest: test_is_working
385
+ ----------------------------------------
386
+  (0.1ms) rollback transaction
387
+  (0.2ms) begin transaction
3346
388
  --------------------------------------------------------------------
3347
389
  ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
3348
390
  --------------------------------------------------------------------
3349
-  (0.3ms) rollback transaction
3350
-  (0.4ms) begin transaction
391
+  (0.2ms) rollback transaction
392
+  (0.1ms) begin transaction
393
+ -----------------------------------------------------------------------
394
+ ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
395
+ -----------------------------------------------------------------------
396
+  (0.1ms) rollback transaction
397
+  (0.2ms) begin transaction
3351
398
  ----------------------------------------
3352
399
  ShopifyAppWhitelistTest: test_is_working
3353
400
  ----------------------------------------
3354
-  (0.2ms) rollback transaction
3355
-  (0.2ms) begin transaction
401
+  (0.1ms) rollback transaction
402
+  (0.2ms) begin transaction
403
+ ---------------------------------------------------------------------------------------
404
+ ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
405
+ ---------------------------------------------------------------------------------------
406
+ Processing by ShopifyApp::SessionsController#create as HTML
407
+ Parameters: {"shop"=>"allowed.myshopify.com"}
408
+ Rendering inline template
409
+ Rendered inline template (4.3ms)
410
+ Completed 200 OK in 59ms (Views: 41.5ms | ActiveRecord: 0.0ms)
411
+  (0.1ms) rollback transaction
412
+  (0.1ms) begin transaction
3356
413
  ---------------------------------------------------------------------------------------
3357
414
  ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
3358
415
  ---------------------------------------------------------------------------------------
3359
416
  Processing by ShopifyApp::SessionsController#new as HTML
3360
- Parameters: {"shop"=>nil}
3361
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (1.9ms)
3362
- Completed 200 OK in 14ms (Views: 13.3ms | ActiveRecord: 0.0ms)
3363
-  (0.1ms) rollback transaction
3364
-  (0.1ms) begin transaction
417
+ Parameters: {"shop"=>""}
418
+ Rendering /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.9/app/views/shopify_app/sessions/new.html.erb
419
+ Rendered /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.9/app/views/shopify_app/sessions/new.html.erb (1.2ms)
420
+ Completed 200 OK in 12ms (Views: 3.2ms | ActiveRecord: 0.0ms)
421
+  (0.1ms) rollback transaction
422
+  (0.1ms) begin transaction
3365
423
  ----------------------------------------------------------------------------------
3366
424
  ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
3367
425
  ----------------------------------------------------------------------------------
@@ -3369,7 +427,7 @@ Processing by ShopifyApp::SessionsController#create as HTML
3369
427
  Parameters: {"shop"=>"not-allowed.myshopify.com"}
3370
428
  Redirected to http://test.host/404.html
3371
429
  Filter chain halted as :whitelist_check rendered or redirected
3372
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
430
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
3373
431
  Processing by ShopifyApp::SessionsController#new as HTML
3374
432
  Parameters: {"shop"=>"not-allowed.myshopify.com"}
3375
433
  Redirected to http://test.host/404.html
@@ -3379,18 +437,57 @@ Processing by ShopifyApp::SessionsController#callback as HTML
3379
437
  Parameters: {"shop"=>"not-allowed.myshopify.com"}
3380
438
  Redirected to http://test.host/404.html
3381
439
  Filter chain halted as :whitelist_check rendered or redirected
440
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
441
+  (0.1ms) rollback transaction
442
+  (0.1ms) begin transaction
443
+ ---------------------------------------------------------------------------------------------------------
444
+ ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
445
+ ---------------------------------------------------------------------------------------------------------
446
+ Processing by ShopifyApp::SessionsController#create as HTML
447
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
448
+ Redirected to http://test.host/404.html
449
+ Filter chain halted as :whitelist_check rendered or redirected
450
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
451
+  (0.1ms) rollback transaction
452
+  (0.2ms) begin transaction
453
+ ----------------------------------------------------------------------------------
454
+ ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
455
+ ----------------------------------------------------------------------------------
456
+ Processing by ShopifyApp::SessionsController#create as HTML
457
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
458
+ Redirected to http://test.host/404.html
459
+ Filter chain halted as :whitelist_check rendered or redirected
460
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
461
+ Processing by ShopifyApp::SessionsController#new as HTML
462
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
463
+ Redirected to http://test.host/404.html
464
+ Filter chain halted as :whitelist_check rendered or redirected
3382
465
  Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
466
+ Processing by ShopifyApp::SessionsController#callback as HTML
467
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
468
+ Redirected to http://test.host/404.html
469
+ Filter chain halted as :whitelist_check rendered or redirected
470
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
3383
471
   (0.1ms) rollback transaction
3384
-  (0.3ms) begin transaction
472
+  (0.1ms) begin transaction
3385
473
  ---------------------------------------------------------------------------------------
3386
474
  ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
3387
475
  ---------------------------------------------------------------------------------------
3388
476
  Processing by ShopifyApp::SessionsController#create as HTML
3389
477
  Parameters: {"shop"=>"allowed.myshopify.com"}
3390
- Rendered inline template (0.7ms)
3391
- Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.0ms)
478
+ Rendered inline template (8.4ms)
479
+ Completed 200 OK in 117ms (Views: 101.7ms | ActiveRecord: 0.0ms)
3392
480
   (0.1ms) rollback transaction
3393
-  (0.1ms) begin transaction
481
+  (0.2ms) begin transaction
482
+ ---------------------------------------------------------------------------------------
483
+ ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
484
+ ---------------------------------------------------------------------------------------
485
+ Processing by ShopifyApp::SessionsController#new as HTML
486
+ Parameters: {"shop"=>nil}
487
+ Rendered /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.8/app/views/shopify_app/sessions/new.html.erb (0.8ms)
488
+ Completed 200 OK in 17ms (Views: 17.1ms | ActiveRecord: 0.0ms)
489
+  (0.1ms) rollback transaction
490
+  (0.0ms) begin transaction
3394
491
  ---------------------------------------------------------------------------------------------------------
3395
492
  ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
3396
493
  ---------------------------------------------------------------------------------------------------------
@@ -3399,37 +496,37 @@ Processing by ShopifyApp::SessionsController#create as HTML
3399
496
  Redirected to http://test.host/404.html
3400
497
  Filter chain halted as :whitelist_check rendered or redirected
3401
498
  Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
499
+  (0.3ms) rollback transaction
500
+  (0.1ms) begin transaction
501
+ -----------------------------------------------------------------------
502
+ ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
503
+ -----------------------------------------------------------------------
3402
504
   (0.1ms) rollback transaction
3403
-  (0.0ms) begin transaction
3404
- --------------------------------------------------------------------
3405
- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
3406
- --------------------------------------------------------------------
3407
-  (0.0ms) rollback transaction
3408
-  (0.0ms) begin transaction
505
+  (0.1ms) begin transaction
3409
506
  ----------------------------------------
3410
507
  ShopifyAppWhitelistTest: test_is_working
3411
508
  ----------------------------------------
3412
-  (0.0ms) rollback transaction
509
+  (0.1ms) rollback transaction
3413
510
   (0.1ms) begin transaction
3414
- -----------------------------------------------------------------------
3415
- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
3416
- -----------------------------------------------------------------------
3417
-  (0.0ms) rollback transaction
511
+ --------------------------------------------------------------------
512
+ ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
513
+ --------------------------------------------------------------------
514
+  (0.1ms) rollback transaction
3418
515
   (0.1ms) begin transaction
3419
516
  --------------------------------------------------------------------
3420
517
  ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
3421
518
  --------------------------------------------------------------------
3422
519
   (0.1ms) rollback transaction
3423
-  (0.1ms) begin transaction
520
+  (0.0ms) begin transaction
3424
521
  ----------------------------------------
3425
522
  ShopifyAppWhitelistTest: test_is_working
3426
523
  ----------------------------------------
3427
524
   (0.0ms) rollback transaction
3428
-  (0.1ms) begin transaction
525
+  (0.0ms) begin transaction
3429
526
  -----------------------------------------------------------------------
3430
527
  ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
3431
528
  -----------------------------------------------------------------------
3432
-  (0.1ms) rollback transaction
529
+  (0.0ms) rollback transaction
3433
530
   (0.0ms) begin transaction
3434
531
  ----------------------------------------------------------------------------------
3435
532
  ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
@@ -3438,7 +535,7 @@ Processing by ShopifyApp::SessionsController#create as HTML
3438
535
  Parameters: {"shop"=>"not-allowed.myshopify.com"}
3439
536
  Redirected to http://test.host/404.html
3440
537
  Filter chain halted as :whitelist_check rendered or redirected
3441
- Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
538
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
3442
539
  Processing by ShopifyApp::SessionsController#new as HTML
3443
540
  Parameters: {"shop"=>"not-allowed.myshopify.com"}
3444
541
  Redirected to http://test.host/404.html
@@ -3448,27 +545,17 @@ Processing by ShopifyApp::SessionsController#callback as HTML
3448
545
  Parameters: {"shop"=>"not-allowed.myshopify.com"}
3449
546
  Redirected to http://test.host/404.html
3450
547
  Filter chain halted as :whitelist_check rendered or redirected
3451
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
548
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
3452
549
   (0.1ms) rollback transaction
3453
550
   (0.1ms) begin transaction
3454
551
  ---------------------------------------------------------------------------------------
3455
- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
3456
- ---------------------------------------------------------------------------------------
3457
- Processing by ShopifyApp::SessionsController#create as HTML
3458
- Parameters: {"shop"=>"allowed.myshopify.com"}
3459
- Rendering inline template
3460
- Rendered inline template (1.8ms)
3461
- Completed 200 OK in 11ms (Views: 8.4ms | ActiveRecord: 0.0ms)
3462
-  (0.1ms) rollback transaction
3463
-  (0.0ms) begin transaction
3464
- ---------------------------------------------------------------------------------------
3465
552
  ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
3466
553
  ---------------------------------------------------------------------------------------
3467
554
  Processing by ShopifyApp::SessionsController#new as HTML
3468
555
  Parameters: {"shop"=>""}
3469
- Rendering /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb
3470
- Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (0.6ms)
3471
- Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.0ms)
556
+ Rendering /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.11/app/views/shopify_app/sessions/new.html.erb
557
+ Rendered /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.11/app/views/shopify_app/sessions/new.html.erb (6.0ms)
558
+ Completed 200 OK in 31ms (Views: 20.1ms | ActiveRecord: 0.0ms)
3472
559
   (0.1ms) rollback transaction
3473
560
   (0.1ms) begin transaction
3474
561
  ---------------------------------------------------------------------------------------------------------
@@ -3478,5 +565,15 @@ Processing by ShopifyApp::SessionsController#create as HTML
3478
565
  Parameters: {"shop"=>"not-allowed.myshopify.com"}
3479
566
  Redirected to http://test.host/404.html
3480
567
  Filter chain halted as :whitelist_check rendered or redirected
3481
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
568
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
569
+  (0.1ms) rollback transaction
570
+  (0.1ms) begin transaction
571
+ ---------------------------------------------------------------------------------------
572
+ ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
573
+ ---------------------------------------------------------------------------------------
574
+ Processing by ShopifyApp::SessionsController#create as HTML
575
+ Parameters: {"shop"=>"allowed.myshopify.com"}
576
+ Rendering inline template
577
+ Rendered inline template (1.2ms)
578
+ Completed 200 OK in 27ms (Views: 3.0ms | ActiveRecord: 0.0ms)
3482
579
   (0.1ms) rollback transaction