shopify_app_whitelist 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE +20 -0
- data/README.md +36 -0
- data/Rakefile +19 -0
- data/lib/shopify_app_whitelist.rb +9 -0
- data/lib/shopify_app_whitelist/protection_concern.rb +29 -0
- data/lib/shopify_app_whitelist/railite.rb +11 -0
- data/lib/shopify_app_whitelist/shopify_app_configuration_ext.rb +5 -0
- data/lib/shopify_app_whitelist/version.rb +4 -0
- data/test/controllers/sessions_controller_test.rb +39 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/controllers/home_controller.rb +3 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +9 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +12 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/test.rb +42 -0
- data/test/dummy/config/initializers/omniauth.rb +6 -0
- data/test/dummy/config/initializers/shopify_app.rb +8 -0
- data/test/dummy/config/initializers/shopify_session_repository.rb +1 -0
- data/test/dummy/config/routes.rb +4 -0
- data/test/dummy/config/secrets.yml +5 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +0 -0
- data/test/dummy/log/test.log +1746 -0
- data/test/shopify_app_whitelist_test.rb +18 -0
- data/test/test_helper.rb +11 -0
- metadata +203 -0
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
|
+
[](http://travis-ci.org/tyler-king/shopify_app_whitelist) [](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,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
|
data/test/dummy/Rakefile
ADDED
@@ -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 @@
|
|
1
|
+
ShopifyApp::SessionRepository.storage = InMemorySessionStore
|
@@ -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
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2
|
+
-----------------------------------
|
3
|
+
ShopifyAppWhitelistTest: test_truth
|
4
|
+
-----------------------------------
|
5
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
6
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7
|
+
---------------------------------------------------------------------------------------------------------
|
8
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not-allowed_shop_should_redirect_to_configured_location
|
9
|
+
---------------------------------------------------------------------------------------------------------
|
10
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12
|
+
--------------------------------------------------------------------
|
13
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_methods
|
14
|
+
--------------------------------------------------------------------
|
15
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
16
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
17
|
+
---------------------------------------------------------------------------------------
|
18
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_redirect_to_login
|
19
|
+
---------------------------------------------------------------------------------------
|
20
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
21
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22
|
+
---------------------------------------------------------------------------------------
|
23
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_redirect_to_login
|
24
|
+
---------------------------------------------------------------------------------------
|
25
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27
|
+
---------------------------------------------------------------------------------------------------------
|
28
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not-allowed_shop_should_redirect_to_configured_location
|
29
|
+
---------------------------------------------------------------------------------------------------------
|
30
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
31
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
32
|
+
--------------------------------------------------------------------
|
33
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_methods
|
34
|
+
--------------------------------------------------------------------
|
35
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
36
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37
|
+
--------------------------------------------------------------------
|
38
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_methods
|
39
|
+
--------------------------------------------------------------------
|
40
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
41
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
51
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
61
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
71
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
81
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
91
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
99
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
109
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
119
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
129
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
139
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
149
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
159
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
169
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
179
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
187
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
195
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
205
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
214
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
224
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
234
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
243
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
252
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
262
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
271
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
281
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
290
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
300
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
309
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
310
|
+
----------------------------------------------------------------------------------
|
311
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
312
|
+
----------------------------------------------------------------------------------
|
313
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
314
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
324
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
334
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
343
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
363
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
373
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
382
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
383
|
+
----------------------------------------------------------------------------------
|
384
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
385
|
+
----------------------------------------------------------------------------------
|
386
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
387
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
397
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
406
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
426
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
435
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
445
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
465
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
475
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
484
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
504
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
513
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
522
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
532
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
552
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
572
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
581
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
590
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
600
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
601
|
+
----------------------------------------
|
602
|
+
ShopifyAppWhitelistTest: test_is_working
|
603
|
+
----------------------------------------
|
604
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
605
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
614
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
624
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
644
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
653
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
654
|
+
----------------------------------------
|
655
|
+
ShopifyAppWhitelistTest: test_is_working
|
656
|
+
----------------------------------------
|
657
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
658
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
667
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
687
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
696
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
706
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
715
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
735
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
744
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
754
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
755
|
+
-----------------------------------------------------------------------
|
756
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
757
|
+
-----------------------------------------------------------------------
|
758
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
759
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
760
|
+
----------------------------------------
|
761
|
+
ShopifyAppWhitelistTest: test_is_working
|
762
|
+
----------------------------------------
|
763
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
764
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
765
|
+
-----------------------------------------------------------------------
|
766
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
767
|
+
-----------------------------------------------------------------------
|
768
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
769
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
770
|
+
----------------------------------------
|
771
|
+
ShopifyAppWhitelistTest: test_is_working
|
772
|
+
----------------------------------------
|
773
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
774
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
783
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
803
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
812
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
822
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
823
|
+
-----------------------------------------------------------------------
|
824
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
825
|
+
-----------------------------------------------------------------------
|
826
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
827
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
828
|
+
----------------------------------------
|
829
|
+
ShopifyAppWhitelistTest: test_is_working
|
830
|
+
----------------------------------------
|
831
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
832
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
841
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
850
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
860
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
880
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
889
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
898
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
908
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
928
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
929
|
+
-----------------------------------------------------------------------
|
930
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
931
|
+
-----------------------------------------------------------------------
|
932
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
933
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
934
|
+
----------------------------------------
|
935
|
+
ShopifyAppWhitelistTest: test_is_working
|
936
|
+
----------------------------------------
|
937
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
938
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
939
|
+
-----------------------------------------------------------------------
|
940
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
941
|
+
-----------------------------------------------------------------------
|
942
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
943
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
944
|
+
----------------------------------------
|
945
|
+
ShopifyAppWhitelistTest: test_is_working
|
946
|
+
----------------------------------------
|
947
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
948
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
968
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
977
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
986
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
996
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
997
|
+
-----------------------------------------------------------------------
|
998
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
999
|
+
-----------------------------------------------------------------------
|
1000
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1001
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1002
|
+
----------------------------------------
|
1003
|
+
ShopifyAppWhitelistTest: test_is_working
|
1004
|
+
----------------------------------------
|
1005
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1006
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1016
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1036
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1045
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1054
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1055
|
+
--------------------------------------------------------------------
|
1056
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
1057
|
+
--------------------------------------------------------------------
|
1058
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1059
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1060
|
+
-----------------------------------------------------------------------
|
1061
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
1062
|
+
-----------------------------------------------------------------------
|
1063
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1064
|
+
[1m[36m (0.7ms)[0m [1mbegin transaction[0m
|
1065
|
+
----------------------------------------
|
1066
|
+
ShopifyAppWhitelistTest: test_is_working
|
1067
|
+
----------------------------------------
|
1068
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1069
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1078
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1087
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1097
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1117
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1137
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1146
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1156
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1165
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1166
|
+
--------------------------------------------------------------------
|
1167
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
1168
|
+
--------------------------------------------------------------------
|
1169
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1170
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1171
|
+
----------------------------------------
|
1172
|
+
ShopifyAppWhitelistTest: test_is_working
|
1173
|
+
----------------------------------------
|
1174
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1175
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1176
|
+
-----------------------------------------------------------------------
|
1177
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
1178
|
+
-----------------------------------------------------------------------
|
1179
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1180
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1181
|
+
----------------------------------------
|
1182
|
+
ShopifyAppWhitelistTest: test_is_working
|
1183
|
+
----------------------------------------
|
1184
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1185
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1186
|
+
--------------------------------------------------------------------
|
1187
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
1188
|
+
--------------------------------------------------------------------
|
1189
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1190
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1191
|
+
-----------------------------------------------------------------------
|
1192
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
1193
|
+
-----------------------------------------------------------------------
|
1194
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1195
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1204
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1224
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1233
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1243
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1244
|
+
----------------------------------------
|
1245
|
+
ShopifyAppWhitelistTest: test_is_working
|
1246
|
+
----------------------------------------
|
1247
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1248
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1249
|
+
-----------------------------------------------------------------------
|
1250
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
1251
|
+
-----------------------------------------------------------------------
|
1252
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1253
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1254
|
+
--------------------------------------------------------------------
|
1255
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
1256
|
+
--------------------------------------------------------------------
|
1257
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1258
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1267
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1276
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1286
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1306
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1315
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1324
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1334
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1354
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1355
|
+
-----------------------------------------------------------------------
|
1356
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
1357
|
+
-----------------------------------------------------------------------
|
1358
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1359
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1360
|
+
----------------------------------------
|
1361
|
+
ShopifyAppWhitelistTest: test_is_working
|
1362
|
+
----------------------------------------
|
1363
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1364
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1365
|
+
--------------------------------------------------------------------
|
1366
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
1367
|
+
--------------------------------------------------------------------
|
1368
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1369
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1370
|
+
-----------------------------------------------------------------------
|
1371
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
1372
|
+
-----------------------------------------------------------------------
|
1373
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1374
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1375
|
+
--------------------------------------------------------------------
|
1376
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
1377
|
+
--------------------------------------------------------------------
|
1378
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1379
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1380
|
+
----------------------------------------
|
1381
|
+
ShopifyAppWhitelistTest: test_is_working
|
1382
|
+
----------------------------------------
|
1383
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1384
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1393
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1402
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1412
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1432
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1433
|
+
-----------------------------------------------------------------------
|
1434
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
1435
|
+
-----------------------------------------------------------------------
|
1436
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1437
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1438
|
+
--------------------------------------------------------------------
|
1439
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
1440
|
+
--------------------------------------------------------------------
|
1441
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1442
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1443
|
+
----------------------------------------
|
1444
|
+
ShopifyAppWhitelistTest: test_is_working
|
1445
|
+
----------------------------------------
|
1446
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1447
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1456
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1466
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1475
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1495
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1504
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1513
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1533
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1543
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1544
|
+
--------------------------------------------------------------------
|
1545
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
1546
|
+
--------------------------------------------------------------------
|
1547
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1548
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1549
|
+
----------------------------------------
|
1550
|
+
ShopifyAppWhitelistTest: test_is_working
|
1551
|
+
----------------------------------------
|
1552
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1553
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1554
|
+
-----------------------------------------------------------------------
|
1555
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
1556
|
+
-----------------------------------------------------------------------
|
1557
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1558
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1578
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1587
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1596
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1606
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1607
|
+
----------------------------------------
|
1608
|
+
ShopifyAppWhitelistTest: test_is_working
|
1609
|
+
----------------------------------------
|
1610
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1611
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1612
|
+
-----------------------------------------------------------------------
|
1613
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
1614
|
+
-----------------------------------------------------------------------
|
1615
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1616
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1617
|
+
--------------------------------------------------------------------
|
1618
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
1619
|
+
--------------------------------------------------------------------
|
1620
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1621
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1630
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1640
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1649
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1669
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1670
|
+
----------------------------------------
|
1671
|
+
ShopifyAppWhitelistTest: test_is_working
|
1672
|
+
----------------------------------------
|
1673
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1674
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1675
|
+
--------------------------------------------------------------------
|
1676
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
1677
|
+
--------------------------------------------------------------------
|
1678
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1679
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1680
|
+
-----------------------------------------------------------------------
|
1681
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
1682
|
+
-----------------------------------------------------------------------
|
1683
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1684
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1685
|
+
--------------------------------------------------------------------
|
1686
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
1687
|
+
--------------------------------------------------------------------
|
1688
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1689
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1690
|
+
-----------------------------------------------------------------------
|
1691
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
1692
|
+
-----------------------------------------------------------------------
|
1693
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1694
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1695
|
+
----------------------------------------
|
1696
|
+
ShopifyAppWhitelistTest: test_is_working
|
1697
|
+
----------------------------------------
|
1698
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1699
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1708
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1717
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1727
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|