shopify_app_whitelist 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 7ca2e3bf33fc490eb9549133f19a5de809ca110f
4
+ data.tar.gz: b5fc80b40d41b063d37a4de86ce81ecddbe5ce81
5
+ SHA512:
6
+ metadata.gz: 2807dcaab025582e0d5d29bd7bc3c33d25ce1bcffc4890fa462bb97560edbeea888a588006f4de59129314e8e966b4984c4721b791e4b338db67601a036228ea
7
+ data.tar.gz: dcbc74538aa05b9b4ca32bff68194a339d2415193609fb9691f220bb1641a2c54664e9b936cf63f484a2350fec356c02869d6e0f443449d943137dbaa8b2c010
data/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright 2016 Tyler King
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,36 @@
1
+ # shopify_app_whitelist
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)
4
+
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
+
7
+ # Installation
8
+
9
+ 1. Add `gem 'shopify_app_whitelist'` to your Gemfile
10
+ 2. Run `bundle install`
11
+
12
+ # Configuration
13
+
14
+ 1. Open your existing `config/initializers/shopify_app.rb` file
15
+ 2. Add `whitelist` and `whitelist_redirect` options
16
+
17
+ Example:
18
+
19
+ ```ruby
20
+ ShopifyApp.configure do |config|
21
+ # ...
22
+ config.whitelist = ['allowed.myshopify.com', 'another-allowed-shop.myshopify.com']
23
+ config.whitelist_redirect = '/404.html'
24
+ # ...
25
+ end
26
+ ```
27
+
28
+ # Testing
29
+
30
+ This Gem is tested. See `test/` or run `bundle rake test` after installing development dependencies.
31
+
32
+ # How It Works
33
+
34
+ This Gem adds two configuration options to `ShopifyApp::Configuration` automatically. Using a Railite, it also automatically injects a controller concern into `ApplicationController`.
35
+
36
+ The concern will check if the current controller is `shopify_app/sessions_controller` and that the action is one of `new`, `create`, or `callback`. If it is, it will check the shop's Shopify domain against the whitelist to see if the shop is allowed to access these methods.
data/Rakefile ADDED
@@ -0,0 +1,19 @@
1
+ begin
2
+ require 'bundler/setup'
3
+ rescue LoadError
4
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
5
+ end
6
+
7
+ Bundler::GemHelper.install_tasks
8
+
9
+ require 'rake/testtask'
10
+
11
+ Rake::TestTask.new(:test) do |t|
12
+ t.libs << 'lib'
13
+ t.libs << 'test'
14
+ t.pattern = 'test/**/*_test.rb'
15
+ t.verbose = false
16
+ t.warning = false
17
+ end
18
+
19
+ task default: :test
@@ -0,0 +1,9 @@
1
+ require 'shopify_app'
2
+ require 'shopify_app/configuration'
3
+ require 'shopify_app_whitelist/version'
4
+ require 'shopify_app_whitelist/protection_concern'
5
+ require 'shopify_app_whitelist/shopify_app_configuration_ext'
6
+ require 'shopify_app_whitelist/railite'
7
+
8
+ # Responsible for adding whitelist protection to shopify_app Gem
9
+ module ShopifyAppWhitelist; end
@@ -0,0 +1,29 @@
1
+ module ShopifyAppWhitelist
2
+ # Protection Concern for including into the ApplicationController
3
+ module ProtectionConcern
4
+ extend ActiveSupport::Concern
5
+
6
+ included do
7
+ # Add our hook on before_action
8
+ before_action :whitelist_check
9
+ end
10
+
11
+ protected
12
+
13
+ # Checks to ensure a shop is allowed to access ShopifyApp's SessionController methods
14
+ def whitelist_check
15
+ whitelist = ShopifyApp.configuration.whitelist
16
+ whitelist_redirect = ShopifyApp.configuration.whitelist_redirect
17
+ shop = params[:shop]
18
+ controller_match = params[:controller] == 'shopify_app/sessions'
19
+ action_match = %w(new create callback).any? { |a| a == params[:action] }
20
+
21
+ # Only fire if a whitelist is made, shop param is present in request
22
+ # controller is the sessions controller and action is in the list
23
+ if whitelist.present? && shop.present? && controller_match && action_match
24
+ # Shop is not allowed, redirect to defined location
25
+ redirect_to(whitelist_redirect) unless whitelist.include?(params[:shop])
26
+ end
27
+ end
28
+ end
29
+ end
@@ -0,0 +1,11 @@
1
+ module ShopifyAppWhitelist
2
+ # Railite implementation for the Gem
3
+ class Railtie < Rails::Railtie
4
+ config.after_initialize do
5
+ # Include our concern into the ApplicationController after initialization
6
+ Rails.app_class::ApplicationController.class_eval do
7
+ include ShopifyAppWhitelist::ProtectionConcern
8
+ end
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,5 @@
1
+ # Add our configuration to ShopifyApp's Configuration
2
+ ShopifyApp::Configuration.class_eval do
3
+ attr_accessor :whitelist
4
+ attr_accessor :whitelist_redirect
5
+ end
@@ -0,0 +1,4 @@
1
+ module ShopifyAppWhitelist
2
+ # Gem version
3
+ VERSION = '1.0.0'.freeze
4
+ end
@@ -0,0 +1,39 @@
1
+ require 'test_helper'
2
+
3
+ module ShopifyAppWhitelist
4
+ class SessionsControllerTest < ActionController::TestCase
5
+ setup do
6
+ @routes = ShopifyApp::Engine.routes
7
+ @controller = ShopifyApp::SessionsController.new
8
+ end
9
+
10
+ test 'not allowed shop should redirect to configured location' do
11
+ post :create, { shop: 'not-allowed.myshopify.com' }
12
+
13
+ assert_response :redirect
14
+ assert response.location.include?(ShopifyApp.configuration.whitelist_redirect)
15
+ end
16
+
17
+ test 'allowed shop should be granted access' do
18
+ post :create, { shop: 'allowed.myshopify.com' }
19
+
20
+ assert_response :success
21
+ assert response.body.include?('auth/')
22
+ end
23
+
24
+ test 'everyone should be granted login page' do
25
+ get :new, { shop: nil }
26
+
27
+ assert_response :success
28
+ end
29
+
30
+ test 'protection works for each action' do
31
+ [[:post, :create], [:get, :new], [:get, :callback]].each do |method, action|
32
+ send method, action, { shop: 'not-allowed.myshopify.com' }
33
+
34
+ assert_response :redirect
35
+ assert response.location.include?(ShopifyApp.configuration.whitelist_redirect)
36
+ end
37
+ end
38
+ end
39
+ end
@@ -0,0 +1,6 @@
1
+ # Add your own tasks in files placed in lib/tasks ending in .rake,
2
+ # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
3
+
4
+ require File.expand_path('../config/application', __FILE__)
5
+
6
+ Rails.application.load_tasks
@@ -0,0 +1,5 @@
1
+ class ApplicationController < ActionController::Base
2
+ # Prevent CSRF attacks by raising an exception.
3
+ # For APIs, you may want to use :null_session instead.
4
+ protect_from_forgery with: :exception
5
+ end
@@ -0,0 +1,3 @@
1
+ class HomeController < ShopifyApp::AuthenticatedController
2
+ def index; end
3
+ end
@@ -0,0 +1,4 @@
1
+ # This file is used by Rack-based servers to start the application.
2
+
3
+ require ::File.expand_path('../config/environment', __FILE__)
4
+ run Rails.application
@@ -0,0 +1,9 @@
1
+ require File.expand_path('../boot', __FILE__)
2
+ require 'rails/all'
3
+
4
+ Bundler.require(*Rails.groups)
5
+ require 'shopify_app_whitelist'
6
+
7
+ module Dummy
8
+ class Application < Rails::Application; end
9
+ end
@@ -0,0 +1,5 @@
1
+ # Set up gems listed in the Gemfile.
2
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../../../Gemfile', __FILE__)
3
+
4
+ require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
5
+ $LOAD_PATH.unshift File.expand_path('../../../../lib', __FILE__)
@@ -0,0 +1,12 @@
1
+ default: &default
2
+ adapter: sqlite3
3
+ pool: 5
4
+ timeout: 5000
5
+
6
+ development:
7
+ <<: *default
8
+ database: db/development.sqlite3
9
+
10
+ test:
11
+ <<: *default
12
+ database: db/test.sqlite3
@@ -0,0 +1,5 @@
1
+ # Load the Rails application.
2
+ require File.expand_path('../application', __FILE__)
3
+
4
+ # Initialize the Rails application.
5
+ Rails.application.initialize!
@@ -0,0 +1,42 @@
1
+ Rails.application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
+
4
+ # The test environment is used exclusively to run your application's
5
+ # test suite. You never need to work with it otherwise. Remember that
6
+ # your test database is "scratch space" for the test suite and is wiped
7
+ # and recreated between test runs. Don't rely on the data there!
8
+ config.cache_classes = true
9
+
10
+ # Do not eager load code on boot. This avoids loading your whole application
11
+ # just for the purpose of running a single test. If you are using a tool that
12
+ # preloads Rails for running tests, you may have to set it to true.
13
+ config.eager_load = false
14
+
15
+ # Configure static file server for tests with Cache-Control for performance.
16
+ config.serve_static_files = true
17
+ config.static_cache_control = 'public, max-age=3600'
18
+
19
+ # Show full error reports and disable caching.
20
+ config.consider_all_requests_local = true
21
+ config.action_controller.perform_caching = false
22
+
23
+ # Raise exceptions instead of rendering exception templates.
24
+ config.action_dispatch.show_exceptions = false
25
+
26
+ # Disable request forgery protection in test environment.
27
+ config.action_controller.allow_forgery_protection = false
28
+
29
+ # Tell Action Mailer not to deliver emails to the real world.
30
+ # The :test delivery method accumulates sent emails in the
31
+ # ActionMailer::Base.deliveries array.
32
+ config.action_mailer.delivery_method = :test
33
+
34
+ # Randomize the order test cases are executed.
35
+ config.active_support.test_order = :random
36
+
37
+ # Print deprecation notices to the stderr.
38
+ config.active_support.deprecation = :stderr
39
+
40
+ # Raises error for missing translations
41
+ # config.action_view.raise_on_missing_translations = true
42
+ end
@@ -0,0 +1,6 @@
1
+ Rails.application.config.middleware.use OmniAuth::Builder do
2
+ provider :shopify,
3
+ ShopifyApp.configuration.api_key,
4
+ ShopifyApp.configuration.secret,
5
+ scope: ShopifyApp.configuration.scope
6
+ end
@@ -0,0 +1,8 @@
1
+ ShopifyApp.configure do |config|
2
+ config.api_key = '<api_key>'
3
+ config.secret = '<secret>'
4
+ config.scope = 'read_orders, read_products'
5
+ config.embedded_app = true
6
+ config.whitelist = ['allowed.myshopify.com']
7
+ config.whitelist_redirect = '/404.html'
8
+ end
@@ -0,0 +1 @@
1
+ ShopifyApp::SessionRepository.storage = InMemorySessionStore
@@ -0,0 +1,4 @@
1
+ Rails.application.routes.draw do
2
+ root to: 'home#index'
3
+ mount ShopifyApp::Engine, at: '/'
4
+ end
@@ -0,0 +1,5 @@
1
+ development:
2
+ secret_key_base: 3e12f4fbaed67dac746a270bc3f541419fc5a8dabb95179aa85a0933c27249b65a299d4c88dd9ffdb534e36e64b4725ebbfdad65a1422fd3559153affca1579d
3
+
4
+ test:
5
+ secret_key_base: 3f715c3108aec6d883b1d478140caf470b22cb6fe42b9cf026789704e431cca2e55365b713897ffa9ddfcc85c7c7e585cd1be7f88ef177d4779a43b6f7f86c40
File without changes
File without changes
@@ -0,0 +1,1746 @@
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