shopify_app_whitelist 1.0.0 → 1.1.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 +4 -4
- data/README.md +6 -0
- data/lib/shopify_app_whitelist/version.rb +1 -1
- data/test/controllers/sessions_controller_test.rb +20 -4
- data/test/dummy/config/environments/test.rb +11 -2
- data/test/dummy/log/test.log +1736 -0
- data/test/test_helper.rb +5 -1
- metadata +16 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af6a0fd9fbecbfd79c5a76265280c7063686ac2d
|
4
|
+
data.tar.gz: abc7011981281dc4300f11901d9d62ac839a79a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b19c86e2db6fbfa6a199e1f3ba0403458693dafca02fb076b82c532c27c9b5e02ae8c5bc6d2b6f81abea9aa184c68611b8afac2311eeef5336c956a9ce19624
|
7
|
+
data.tar.gz: d535813afe730f0ee74c807d299915fb86029de8d7149c044362e69883ba7718b9ef4109c9b0fd822826bbc961db1f5873eb1f8ed666537faf72e96b1645bde5
|
data/README.md
CHANGED
@@ -4,8 +4,14 @@
|
|
4
4
|
|
5
5
|
This Gem extends [shopify_app](https://github.com/Shopify/shopify_app) to add a whitelist option so only defined shops can access your app for installation.
|
6
6
|
|
7
|
+
# Compatibility
|
8
|
+
|
9
|
+
Rails 4 and Rails 5 are supported. Appraisal Gem is used to test against both versions.
|
10
|
+
|
7
11
|
# Installation
|
8
12
|
|
13
|
+
*Assuming shopify_app is already installed*
|
14
|
+
|
9
15
|
1. Add `gem 'shopify_app_whitelist'` to your Gemfile
|
10
16
|
2. Run `bundle install`
|
11
17
|
|
@@ -8,28 +8,44 @@ module ShopifyAppWhitelist
|
|
8
8
|
end
|
9
9
|
|
10
10
|
test 'not allowed shop should redirect to configured location' do
|
11
|
-
|
11
|
+
if Rails::VERSION::MAJOR >= 5
|
12
|
+
post :create, params: { shop: 'not-allowed.myshopify.com' }
|
13
|
+
else
|
14
|
+
post :create, { shop: 'not-allowed.myshopify.com' }
|
15
|
+
end
|
12
16
|
|
13
17
|
assert_response :redirect
|
14
18
|
assert response.location.include?(ShopifyApp.configuration.whitelist_redirect)
|
15
19
|
end
|
16
20
|
|
17
21
|
test 'allowed shop should be granted access' do
|
18
|
-
|
22
|
+
if Rails::VERSION::MAJOR >= 5
|
23
|
+
post :create, params: { shop: 'allowed.myshopify.com' }
|
24
|
+
else
|
25
|
+
post :create, { shop: 'allowed.myshopify.com' }
|
26
|
+
end
|
19
27
|
|
20
28
|
assert_response :success
|
21
29
|
assert response.body.include?('auth/')
|
22
30
|
end
|
23
31
|
|
24
32
|
test 'everyone should be granted login page' do
|
25
|
-
|
33
|
+
if Rails::VERSION::MAJOR >= 5
|
34
|
+
get :new, params: { shop: nil }
|
35
|
+
else
|
36
|
+
get :new, { shop: nil }
|
37
|
+
end
|
26
38
|
|
27
39
|
assert_response :success
|
28
40
|
end
|
29
41
|
|
30
42
|
test 'protection works for each action' do
|
31
43
|
[[:post, :create], [:get, :new], [:get, :callback]].each do |method, action|
|
32
|
-
|
44
|
+
if Rails::VERSION::MAJOR >= 5
|
45
|
+
send(method, action, params: { shop: 'not-allowed.myshopify.com' })
|
46
|
+
else
|
47
|
+
send(method, action, { shop: 'not-allowed.myshopify.com' })
|
48
|
+
end
|
33
49
|
|
34
50
|
assert_response :redirect
|
35
51
|
assert response.location.include?(ShopifyApp.configuration.whitelist_redirect)
|
@@ -13,8 +13,17 @@ Rails.application.configure do
|
|
13
13
|
config.eager_load = false
|
14
14
|
|
15
15
|
# Configure static file server for tests with Cache-Control for performance.
|
16
|
-
|
17
|
-
|
16
|
+
if Rails::VERSION::MAJOR >= 5
|
17
|
+
config.public_file_server.enabled = true
|
18
|
+
else
|
19
|
+
config.serve_static_files = true
|
20
|
+
end
|
21
|
+
|
22
|
+
if Rails::VERSION::MAJOR >= 5
|
23
|
+
config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=3600' }
|
24
|
+
else
|
25
|
+
config.static_cache_control = 'public, max-age=3600'
|
26
|
+
end
|
18
27
|
|
19
28
|
# Show full error reports and disable caching.
|
20
29
|
config.consider_all_requests_local = true
|
data/test/dummy/log/test.log
CHANGED
@@ -1744,3 +1744,1739 @@ Redirected to http://test.host/404.html
|
|
1744
1744
|
Filter chain halted as :whitelist_check rendered or redirected
|
1745
1745
|
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
1746
1746
|
[1m[35m (0.1ms)[0m rollback transaction
|
1747
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1748
|
+
--------------------------------------------------------------------
|
1749
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
1750
|
+
--------------------------------------------------------------------
|
1751
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1752
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1753
|
+
-----------------------------------------------------------------------
|
1754
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
1755
|
+
-----------------------------------------------------------------------
|
1756
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1757
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1758
|
+
----------------------------------------
|
1759
|
+
ShopifyAppWhitelistTest: test_is_working
|
1760
|
+
----------------------------------------
|
1761
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1762
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1763
|
+
---------------------------------------------------------------------------------------------------------
|
1764
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
1765
|
+
---------------------------------------------------------------------------------------------------------
|
1766
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
1767
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
1768
|
+
Redirected to http://test.host/404.html
|
1769
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
1770
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
1771
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1772
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1773
|
+
----------------------------------------------------------------------------------
|
1774
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
1775
|
+
----------------------------------------------------------------------------------
|
1776
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
1777
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
1778
|
+
Redirected to http://test.host/404.html
|
1779
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
1780
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
1781
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
1782
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
1783
|
+
Redirected to http://test.host/404.html
|
1784
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
1785
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
1786
|
+
Processing by ShopifyApp::SessionsController#callback as HTML
|
1787
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
1788
|
+
Redirected to http://test.host/404.html
|
1789
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
1790
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
1791
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1792
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1793
|
+
---------------------------------------------------------------------------------------
|
1794
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
1795
|
+
---------------------------------------------------------------------------------------
|
1796
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
1797
|
+
Parameters: {"shop"=>nil}
|
1798
|
+
Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (2.3ms)
|
1799
|
+
Completed 200 OK in 16ms (Views: 15.3ms | ActiveRecord: 0.0ms)
|
1800
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1801
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1802
|
+
---------------------------------------------------------------------------------------
|
1803
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
1804
|
+
---------------------------------------------------------------------------------------
|
1805
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
1806
|
+
Parameters: {"shop"=>"allowed.myshopify.com"}
|
1807
|
+
Rendered inline template (0.3ms)
|
1808
|
+
Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
1809
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1810
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1811
|
+
---------------------------------------------------------------------------------------------------------
|
1812
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
1813
|
+
---------------------------------------------------------------------------------------------------------
|
1814
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
1815
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
1816
|
+
Redirected to http://test.host/404.html
|
1817
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
1818
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
1819
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1820
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1821
|
+
----------------------------------------------------------------------------------
|
1822
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
1823
|
+
----------------------------------------------------------------------------------
|
1824
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
1825
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
1826
|
+
Redirected to http://test.host/404.html
|
1827
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
1828
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
1829
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
1830
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
1831
|
+
Redirected to http://test.host/404.html
|
1832
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
1833
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
1834
|
+
Processing by ShopifyApp::SessionsController#callback as HTML
|
1835
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
1836
|
+
Redirected to http://test.host/404.html
|
1837
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
1838
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
1839
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1840
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1841
|
+
---------------------------------------------------------------------------------------
|
1842
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
1843
|
+
---------------------------------------------------------------------------------------
|
1844
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
1845
|
+
Parameters: {"shop"=>"allowed.myshopify.com"}
|
1846
|
+
Rendered inline template (2.3ms)
|
1847
|
+
Completed 200 OK in 11ms (Views: 9.7ms | ActiveRecord: 0.0ms)
|
1848
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1849
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1850
|
+
---------------------------------------------------------------------------------------
|
1851
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
1852
|
+
---------------------------------------------------------------------------------------
|
1853
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
1854
|
+
Parameters: {"shop"=>nil}
|
1855
|
+
Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (0.9ms)
|
1856
|
+
Completed 200 OK in 3ms (Views: 3.2ms | ActiveRecord: 0.0ms)
|
1857
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1858
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1859
|
+
----------------------------------------
|
1860
|
+
ShopifyAppWhitelistTest: test_is_working
|
1861
|
+
----------------------------------------
|
1862
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1863
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1864
|
+
--------------------------------------------------------------------
|
1865
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
1866
|
+
--------------------------------------------------------------------
|
1867
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1868
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1869
|
+
-----------------------------------------------------------------------
|
1870
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
1871
|
+
-----------------------------------------------------------------------
|
1872
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1873
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1874
|
+
---------------------------------------------------------------------------------------
|
1875
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
1876
|
+
---------------------------------------------------------------------------------------
|
1877
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
1878
|
+
Parameters: {"shop"=>nil}
|
1879
|
+
Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (2.3ms)
|
1880
|
+
Completed 200 OK in 15ms (Views: 14.5ms | ActiveRecord: 0.0ms)
|
1881
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1882
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1883
|
+
---------------------------------------------------------------------------------------------------------
|
1884
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
1885
|
+
---------------------------------------------------------------------------------------------------------
|
1886
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
1887
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
1888
|
+
Redirected to http://test.host/404.html
|
1889
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
1890
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
1891
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1892
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1893
|
+
----------------------------------------------------------------------------------
|
1894
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
1895
|
+
----------------------------------------------------------------------------------
|
1896
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
1897
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
1898
|
+
Redirected to http://test.host/404.html
|
1899
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
1900
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
1901
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
1902
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
1903
|
+
Redirected to http://test.host/404.html
|
1904
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
1905
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
1906
|
+
Processing by ShopifyApp::SessionsController#callback as HTML
|
1907
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
1908
|
+
Redirected to http://test.host/404.html
|
1909
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
1910
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
1911
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1912
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1913
|
+
---------------------------------------------------------------------------------------
|
1914
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
1915
|
+
---------------------------------------------------------------------------------------
|
1916
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
1917
|
+
Parameters: {"shop"=>"allowed.myshopify.com"}
|
1918
|
+
Rendered inline template (0.4ms)
|
1919
|
+
Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
1920
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1921
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1922
|
+
--------------------------------------------------------------------
|
1923
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
1924
|
+
--------------------------------------------------------------------
|
1925
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1926
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
1927
|
+
-----------------------------------------------------------------------
|
1928
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
1929
|
+
-----------------------------------------------------------------------
|
1930
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1931
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1932
|
+
----------------------------------------
|
1933
|
+
ShopifyAppWhitelistTest: test_is_working
|
1934
|
+
----------------------------------------
|
1935
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1936
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1937
|
+
-----------------------------------------------------------------------
|
1938
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
1939
|
+
-----------------------------------------------------------------------
|
1940
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1941
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1942
|
+
--------------------------------------------------------------------
|
1943
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
1944
|
+
--------------------------------------------------------------------
|
1945
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1946
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1947
|
+
----------------------------------------
|
1948
|
+
ShopifyAppWhitelistTest: test_is_working
|
1949
|
+
----------------------------------------
|
1950
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1951
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1952
|
+
---------------------------------------------------------------------------------------------------------
|
1953
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
1954
|
+
---------------------------------------------------------------------------------------------------------
|
1955
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
1956
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
1957
|
+
Redirected to http://test.host/404.html
|
1958
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
1959
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
|
1960
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1961
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1962
|
+
----------------------------------------------------------------------------------
|
1963
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
1964
|
+
----------------------------------------------------------------------------------
|
1965
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
1966
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
1967
|
+
Redirected to http://test.host/404.html
|
1968
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
1969
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
1970
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
1971
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
1972
|
+
Redirected to http://test.host/404.html
|
1973
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
1974
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
1975
|
+
Processing by ShopifyApp::SessionsController#callback as HTML
|
1976
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
1977
|
+
Redirected to http://test.host/404.html
|
1978
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
1979
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
1980
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1981
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1982
|
+
---------------------------------------------------------------------------------------
|
1983
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
1984
|
+
---------------------------------------------------------------------------------------
|
1985
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
1986
|
+
Parameters: {"shop"=>""}
|
1987
|
+
Rendering /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb
|
1988
|
+
Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (4.4ms)
|
1989
|
+
Completed 200 OK in 19ms (Views: 16.0ms | ActiveRecord: 0.0ms)
|
1990
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
1991
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1992
|
+
---------------------------------------------------------------------------------------
|
1993
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
1994
|
+
---------------------------------------------------------------------------------------
|
1995
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
1996
|
+
Parameters: {"shop"=>"allowed.myshopify.com"}
|
1997
|
+
Rendering inline template
|
1998
|
+
Rendered inline template (0.3ms)
|
1999
|
+
Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
2000
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2001
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2002
|
+
----------------------------------------
|
2003
|
+
ShopifyAppWhitelistTest: test_is_working
|
2004
|
+
----------------------------------------
|
2005
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2006
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2007
|
+
--------------------------------------------------------------------
|
2008
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
2009
|
+
--------------------------------------------------------------------
|
2010
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2011
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2012
|
+
-----------------------------------------------------------------------
|
2013
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
2014
|
+
-----------------------------------------------------------------------
|
2015
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2016
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2017
|
+
---------------------------------------------------------------------------------------
|
2018
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
2019
|
+
---------------------------------------------------------------------------------------
|
2020
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2021
|
+
Parameters: {"shop"=>"allowed.myshopify.com"}
|
2022
|
+
Rendered inline template (1.1ms)
|
2023
|
+
Completed 200 OK in 10ms (Views: 7.6ms | ActiveRecord: 0.0ms)
|
2024
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2025
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2026
|
+
---------------------------------------------------------------------------------------
|
2027
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
2028
|
+
---------------------------------------------------------------------------------------
|
2029
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
2030
|
+
Parameters: {"shop"=>nil}
|
2031
|
+
Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (0.8ms)
|
2032
|
+
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
|
2033
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2034
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
2035
|
+
---------------------------------------------------------------------------------------------------------
|
2036
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
2037
|
+
---------------------------------------------------------------------------------------------------------
|
2038
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2039
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2040
|
+
Redirected to http://test.host/404.html
|
2041
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2042
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
2043
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2044
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2045
|
+
----------------------------------------------------------------------------------
|
2046
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
2047
|
+
----------------------------------------------------------------------------------
|
2048
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2049
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2050
|
+
Redirected to http://test.host/404.html
|
2051
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2052
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
2053
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
2054
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2055
|
+
Redirected to http://test.host/404.html
|
2056
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2057
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
2058
|
+
Processing by ShopifyApp::SessionsController#callback as HTML
|
2059
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2060
|
+
Redirected to http://test.host/404.html
|
2061
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2062
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
2063
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2064
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2065
|
+
---------------------------------------------------------------------------------------
|
2066
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
2067
|
+
---------------------------------------------------------------------------------------
|
2068
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
2069
|
+
Parameters: {"shop"=>""}
|
2070
|
+
Rendering /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb
|
2071
|
+
Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (1.9ms)
|
2072
|
+
Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.0ms)
|
2073
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2074
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
2075
|
+
---------------------------------------------------------------------------------------
|
2076
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
2077
|
+
---------------------------------------------------------------------------------------
|
2078
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2079
|
+
Parameters: {"shop"=>"allowed.myshopify.com"}
|
2080
|
+
Rendering inline template
|
2081
|
+
Rendered inline template (0.4ms)
|
2082
|
+
Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
2083
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2084
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2085
|
+
---------------------------------------------------------------------------------------------------------
|
2086
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
2087
|
+
---------------------------------------------------------------------------------------------------------
|
2088
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2089
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2090
|
+
Redirected to http://test.host/404.html
|
2091
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2092
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
|
2093
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2094
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2095
|
+
----------------------------------------------------------------------------------
|
2096
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
2097
|
+
----------------------------------------------------------------------------------
|
2098
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2099
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2100
|
+
Redirected to http://test.host/404.html
|
2101
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2102
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
|
2103
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
2104
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2105
|
+
Redirected to http://test.host/404.html
|
2106
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2107
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
2108
|
+
Processing by ShopifyApp::SessionsController#callback as HTML
|
2109
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2110
|
+
Redirected to http://test.host/404.html
|
2111
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2112
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
2113
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2114
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2115
|
+
--------------------------------------------------------------------
|
2116
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
2117
|
+
--------------------------------------------------------------------
|
2118
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2119
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2120
|
+
-----------------------------------------------------------------------
|
2121
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
2122
|
+
-----------------------------------------------------------------------
|
2123
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2124
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2125
|
+
----------------------------------------
|
2126
|
+
ShopifyAppWhitelistTest: test_is_working
|
2127
|
+
----------------------------------------
|
2128
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2129
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2130
|
+
----------------------------------------------------------------------------------
|
2131
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
2132
|
+
----------------------------------------------------------------------------------
|
2133
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2134
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2135
|
+
Redirected to http://test.host/404.html
|
2136
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2137
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
|
2138
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
2139
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2140
|
+
Redirected to http://test.host/404.html
|
2141
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2142
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
2143
|
+
Processing by ShopifyApp::SessionsController#callback as HTML
|
2144
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2145
|
+
Redirected to http://test.host/404.html
|
2146
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2147
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
2148
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2149
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2150
|
+
---------------------------------------------------------------------------------------
|
2151
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
2152
|
+
---------------------------------------------------------------------------------------
|
2153
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2154
|
+
Parameters: {"shop"=>"allowed.myshopify.com"}
|
2155
|
+
Rendering inline template
|
2156
|
+
Rendered inline template (1.2ms)
|
2157
|
+
Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.0ms)
|
2158
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
2159
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
2160
|
+
---------------------------------------------------------------------------------------
|
2161
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
2162
|
+
---------------------------------------------------------------------------------------
|
2163
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
2164
|
+
Parameters: {"shop"=>""}
|
2165
|
+
Rendering /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb
|
2166
|
+
Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (0.6ms)
|
2167
|
+
Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.0ms)
|
2168
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2169
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2170
|
+
---------------------------------------------------------------------------------------------------------
|
2171
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
2172
|
+
---------------------------------------------------------------------------------------------------------
|
2173
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2174
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2175
|
+
Redirected to http://test.host/404.html
|
2176
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2177
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
2178
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2179
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2180
|
+
--------------------------------------------------------------------
|
2181
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
2182
|
+
--------------------------------------------------------------------
|
2183
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2184
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2185
|
+
-----------------------------------------------------------------------
|
2186
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
2187
|
+
-----------------------------------------------------------------------
|
2188
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2189
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2190
|
+
----------------------------------------
|
2191
|
+
ShopifyAppWhitelistTest: test_is_working
|
2192
|
+
----------------------------------------
|
2193
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2194
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
2195
|
+
----------------------------------------------------------------------------------
|
2196
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
2197
|
+
----------------------------------------------------------------------------------
|
2198
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2199
|
+
Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}}
|
2200
|
+
Rendered inline template (3.0ms)
|
2201
|
+
Completed 302 Found in 22ms (Views: 19.1ms | ActiveRecord: 0.0ms)
|
2202
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2203
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2204
|
+
---------------------------------------------------------------------------------------
|
2205
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
2206
|
+
---------------------------------------------------------------------------------------
|
2207
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2208
|
+
Parameters: {"params"=>{"shop"=>"allowed.myshopify.com"}}
|
2209
|
+
Rendered inline template (0.6ms)
|
2210
|
+
Completed 302 Found in 3ms (Views: 1.2ms | ActiveRecord: 0.0ms)
|
2211
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2212
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2213
|
+
---------------------------------------------------------------------------------------------------------
|
2214
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
2215
|
+
---------------------------------------------------------------------------------------------------------
|
2216
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2217
|
+
Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}}
|
2218
|
+
Rendered inline template (0.3ms)
|
2219
|
+
Completed 302 Found in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
2220
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2221
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
2222
|
+
---------------------------------------------------------------------------------------
|
2223
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
2224
|
+
---------------------------------------------------------------------------------------
|
2225
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
2226
|
+
Parameters: {"params"=>{"shop"=>nil}}
|
2227
|
+
Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (0.7ms)
|
2228
|
+
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
|
2229
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2230
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2231
|
+
--------------------------------------------------------------------
|
2232
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
2233
|
+
--------------------------------------------------------------------
|
2234
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2235
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2236
|
+
-----------------------------------------------------------------------
|
2237
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
2238
|
+
-----------------------------------------------------------------------
|
2239
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2240
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2241
|
+
----------------------------------------
|
2242
|
+
ShopifyAppWhitelistTest: test_is_working
|
2243
|
+
----------------------------------------
|
2244
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2245
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2246
|
+
---------------------------------------------------------------------------------------
|
2247
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
2248
|
+
---------------------------------------------------------------------------------------
|
2249
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2250
|
+
Parameters: {"params"=>{"shop"=>"allowed.myshopify.com"}}
|
2251
|
+
Rendered inline template (1.2ms)
|
2252
|
+
Completed 302 Found in 9ms (Views: 7.6ms | ActiveRecord: 0.0ms)
|
2253
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
2254
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2255
|
+
---------------------------------------------------------------------------------------------------------
|
2256
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
2257
|
+
---------------------------------------------------------------------------------------------------------
|
2258
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2259
|
+
Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}}
|
2260
|
+
Rendered inline template (0.3ms)
|
2261
|
+
Completed 302 Found in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
2262
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2263
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2264
|
+
---------------------------------------------------------------------------------------
|
2265
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
2266
|
+
---------------------------------------------------------------------------------------
|
2267
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
2268
|
+
Parameters: {"params"=>{"shop"=>nil}}
|
2269
|
+
Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (0.7ms)
|
2270
|
+
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
|
2271
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2272
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2273
|
+
----------------------------------------------------------------------------------
|
2274
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
2275
|
+
----------------------------------------------------------------------------------
|
2276
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2277
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2278
|
+
Redirected to http://test.host/404.html
|
2279
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2280
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
2281
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
2282
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2283
|
+
Redirected to http://test.host/404.html
|
2284
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2285
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
2286
|
+
Processing by ShopifyApp::SessionsController#callback as HTML
|
2287
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2288
|
+
Redirected to http://test.host/404.html
|
2289
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2290
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
2291
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2292
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2293
|
+
-----------------------------------------------------------------------
|
2294
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
2295
|
+
-----------------------------------------------------------------------
|
2296
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2297
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2298
|
+
--------------------------------------------------------------------
|
2299
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
2300
|
+
--------------------------------------------------------------------
|
2301
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2302
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2303
|
+
----------------------------------------
|
2304
|
+
ShopifyAppWhitelistTest: test_is_working
|
2305
|
+
----------------------------------------
|
2306
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2307
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2308
|
+
---------------------------------------------------------------------------------------------------------
|
2309
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
2310
|
+
---------------------------------------------------------------------------------------------------------
|
2311
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2312
|
+
Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}}
|
2313
|
+
Rendered inline template (1.2ms)
|
2314
|
+
Completed 302 Found in 10ms (Views: 8.2ms | ActiveRecord: 0.0ms)
|
2315
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2316
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2317
|
+
---------------------------------------------------------------------------------------
|
2318
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
2319
|
+
---------------------------------------------------------------------------------------
|
2320
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
2321
|
+
Parameters: {"params"=>{"shop"=>nil}}
|
2322
|
+
Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (0.6ms)
|
2323
|
+
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
|
2324
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2325
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2326
|
+
---------------------------------------------------------------------------------------
|
2327
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
2328
|
+
---------------------------------------------------------------------------------------
|
2329
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2330
|
+
Parameters: {"shop"=>"allowed.myshopify.com"}
|
2331
|
+
Rendered inline template (0.3ms)
|
2332
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
2333
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2334
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2335
|
+
----------------------------------------------------------------------------------
|
2336
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
2337
|
+
----------------------------------------------------------------------------------
|
2338
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2339
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2340
|
+
Redirected to http://test.host/404.html
|
2341
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2342
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
2343
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
2344
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2345
|
+
Redirected to http://test.host/404.html
|
2346
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2347
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
2348
|
+
Processing by ShopifyApp::SessionsController#callback as HTML
|
2349
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2350
|
+
Redirected to http://test.host/404.html
|
2351
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2352
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
2353
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2354
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2355
|
+
--------------------------------------------------------------------
|
2356
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
2357
|
+
--------------------------------------------------------------------
|
2358
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2359
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2360
|
+
-----------------------------------------------------------------------
|
2361
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
2362
|
+
-----------------------------------------------------------------------
|
2363
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2364
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2365
|
+
----------------------------------------
|
2366
|
+
ShopifyAppWhitelistTest: test_is_working
|
2367
|
+
----------------------------------------
|
2368
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2369
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2370
|
+
--------------------------------------------------------------------
|
2371
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
2372
|
+
--------------------------------------------------------------------
|
2373
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2374
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2375
|
+
----------------------------------------
|
2376
|
+
ShopifyAppWhitelistTest: test_is_working
|
2377
|
+
----------------------------------------
|
2378
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2379
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2380
|
+
-----------------------------------------------------------------------
|
2381
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
2382
|
+
-----------------------------------------------------------------------
|
2383
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2384
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2385
|
+
---------------------------------------------------------------------------------------
|
2386
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
2387
|
+
---------------------------------------------------------------------------------------
|
2388
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2389
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2390
|
+
---------------------------------------------------------------------------------------
|
2391
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
2392
|
+
---------------------------------------------------------------------------------------
|
2393
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
2394
|
+
Parameters: {"params"=>{"shop"=>nil}}
|
2395
|
+
Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (1.8ms)
|
2396
|
+
Completed 200 OK in 11ms (Views: 10.7ms | ActiveRecord: 0.0ms)
|
2397
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2398
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2399
|
+
----------------------------------------------------------------------------------
|
2400
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
2401
|
+
----------------------------------------------------------------------------------
|
2402
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2403
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2404
|
+
Redirected to http://test.host/404.html
|
2405
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2406
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
2407
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
2408
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2409
|
+
Redirected to http://test.host/404.html
|
2410
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2411
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
2412
|
+
Processing by ShopifyApp::SessionsController#callback as HTML
|
2413
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2414
|
+
Redirected to http://test.host/404.html
|
2415
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2416
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
2417
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2418
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2419
|
+
---------------------------------------------------------------------------------------------------------
|
2420
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
2421
|
+
---------------------------------------------------------------------------------------------------------
|
2422
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2423
|
+
Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}}
|
2424
|
+
Rendered inline template (0.3ms)
|
2425
|
+
Completed 302 Found in 3ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
2426
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2427
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2428
|
+
----------------------------------------
|
2429
|
+
ShopifyAppWhitelistTest: test_is_working
|
2430
|
+
----------------------------------------
|
2431
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2432
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2433
|
+
--------------------------------------------------------------------
|
2434
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
2435
|
+
--------------------------------------------------------------------
|
2436
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2437
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2438
|
+
-----------------------------------------------------------------------
|
2439
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
2440
|
+
-----------------------------------------------------------------------
|
2441
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2442
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2443
|
+
---------------------------------------------------------------------------------------
|
2444
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
2445
|
+
---------------------------------------------------------------------------------------
|
2446
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2447
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2448
|
+
---------------------------------------------------------------------------------------
|
2449
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
2450
|
+
---------------------------------------------------------------------------------------
|
2451
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
2452
|
+
Parameters: {"params"=>{"shop"=>nil}}
|
2453
|
+
Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (2.2ms)
|
2454
|
+
Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 0.0ms)
|
2455
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2456
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2457
|
+
---------------------------------------------------------------------------------------------------------
|
2458
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
2459
|
+
---------------------------------------------------------------------------------------------------------
|
2460
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2461
|
+
Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}}
|
2462
|
+
Rendered inline template (0.5ms)
|
2463
|
+
Completed 302 Found in 4ms (Views: 1.6ms | ActiveRecord: 0.0ms)
|
2464
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2465
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2466
|
+
----------------------------------------------------------------------------------
|
2467
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
2468
|
+
----------------------------------------------------------------------------------
|
2469
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2470
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2471
|
+
Redirected to http://test.host/404.html
|
2472
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2473
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
2474
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
2475
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2476
|
+
Redirected to http://test.host/404.html
|
2477
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2478
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
2479
|
+
Processing by ShopifyApp::SessionsController#callback as HTML
|
2480
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2481
|
+
Redirected to http://test.host/404.html
|
2482
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2483
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
2484
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2485
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2486
|
+
--------------------------------------------------------------------
|
2487
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
2488
|
+
--------------------------------------------------------------------
|
2489
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2490
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2491
|
+
-----------------------------------------------------------------------
|
2492
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
2493
|
+
-----------------------------------------------------------------------
|
2494
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2495
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2496
|
+
----------------------------------------
|
2497
|
+
ShopifyAppWhitelistTest: test_is_working
|
2498
|
+
----------------------------------------
|
2499
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
2500
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2501
|
+
---------------------------------------------------------------------------------------
|
2502
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
2503
|
+
---------------------------------------------------------------------------------------
|
2504
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2505
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2506
|
+
----------------------------------------------------------------------------------
|
2507
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
2508
|
+
----------------------------------------------------------------------------------
|
2509
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2510
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2511
|
+
Redirected to http://test.host/404.html
|
2512
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2513
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
2514
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
2515
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2516
|
+
Redirected to http://test.host/404.html
|
2517
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2518
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
2519
|
+
Processing by ShopifyApp::SessionsController#callback as HTML
|
2520
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2521
|
+
Redirected to http://test.host/404.html
|
2522
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2523
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
2524
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2525
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2526
|
+
---------------------------------------------------------------------------------------
|
2527
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
2528
|
+
---------------------------------------------------------------------------------------
|
2529
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
2530
|
+
Parameters: {"params"=>{"shop"=>nil}}
|
2531
|
+
Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (2.3ms)
|
2532
|
+
Completed 200 OK in 13ms (Views: 12.7ms | ActiveRecord: 0.0ms)
|
2533
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2534
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2535
|
+
---------------------------------------------------------------------------------------------------------
|
2536
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
2537
|
+
---------------------------------------------------------------------------------------------------------
|
2538
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2539
|
+
Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}}
|
2540
|
+
Rendered inline template (0.4ms)
|
2541
|
+
Completed 302 Found in 3ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
2542
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2543
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2544
|
+
---------------------------------------------------------------------------------------
|
2545
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
2546
|
+
---------------------------------------------------------------------------------------
|
2547
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2548
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2549
|
+
---------------------------------------------------------------------------------------
|
2550
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
2551
|
+
---------------------------------------------------------------------------------------
|
2552
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
2553
|
+
Parameters: {"params"=>{"shop"=>nil}}
|
2554
|
+
Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (1.7ms)
|
2555
|
+
Completed 200 OK in 12ms (Views: 11.4ms | ActiveRecord: 0.0ms)
|
2556
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2557
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2558
|
+
---------------------------------------------------------------------------------------------------------
|
2559
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
2560
|
+
---------------------------------------------------------------------------------------------------------
|
2561
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2562
|
+
Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}}
|
2563
|
+
Rendered inline template (0.7ms)
|
2564
|
+
Completed 302 Found in 4ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
2565
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2566
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2567
|
+
----------------------------------------------------------------------------------
|
2568
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
2569
|
+
----------------------------------------------------------------------------------
|
2570
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2571
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2572
|
+
Redirected to http://test.host/404.html
|
2573
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2574
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
2575
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
2576
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2577
|
+
Redirected to http://test.host/404.html
|
2578
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2579
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
2580
|
+
Processing by ShopifyApp::SessionsController#callback as HTML
|
2581
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2582
|
+
Redirected to http://test.host/404.html
|
2583
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2584
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
2585
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2586
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2587
|
+
-----------------------------------------------------------------------
|
2588
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
2589
|
+
-----------------------------------------------------------------------
|
2590
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2591
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2592
|
+
----------------------------------------
|
2593
|
+
ShopifyAppWhitelistTest: test_is_working
|
2594
|
+
----------------------------------------
|
2595
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2596
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2597
|
+
--------------------------------------------------------------------
|
2598
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
2599
|
+
--------------------------------------------------------------------
|
2600
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2601
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2602
|
+
-----------------------------------------------------------------------
|
2603
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
2604
|
+
-----------------------------------------------------------------------
|
2605
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2606
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
2607
|
+
----------------------------------------
|
2608
|
+
ShopifyAppWhitelistTest: test_is_working
|
2609
|
+
----------------------------------------
|
2610
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2611
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2612
|
+
--------------------------------------------------------------------
|
2613
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
2614
|
+
--------------------------------------------------------------------
|
2615
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2616
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2617
|
+
---------------------------------------------------------------------------------------
|
2618
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
2619
|
+
---------------------------------------------------------------------------------------
|
2620
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
2621
|
+
Parameters: {"params"=>{"shop"=>nil}}
|
2622
|
+
Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (2.2ms)
|
2623
|
+
Completed 200 OK in 10ms (Views: 10.0ms | ActiveRecord: 0.0ms)
|
2624
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2625
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2626
|
+
----------------------------------------------------------------------------------
|
2627
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
2628
|
+
----------------------------------------------------------------------------------
|
2629
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2630
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2631
|
+
Redirected to http://test.host/404.html
|
2632
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2633
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
2634
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
2635
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2636
|
+
Redirected to http://test.host/404.html
|
2637
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2638
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
2639
|
+
Processing by ShopifyApp::SessionsController#callback as HTML
|
2640
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2641
|
+
Redirected to http://test.host/404.html
|
2642
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2643
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
2644
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
2645
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2646
|
+
---------------------------------------------------------------------------------------
|
2647
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
2648
|
+
---------------------------------------------------------------------------------------
|
2649
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2650
|
+
Parameters: {"shop"=>"allowed.myshopify.com"}
|
2651
|
+
Rendered inline template (0.3ms)
|
2652
|
+
Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
2653
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2654
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2655
|
+
---------------------------------------------------------------------------------------------------------
|
2656
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
2657
|
+
---------------------------------------------------------------------------------------------------------
|
2658
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2659
|
+
Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}}
|
2660
|
+
Rendered inline template (0.3ms)
|
2661
|
+
Completed 302 Found in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
2662
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2663
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2664
|
+
---------------------------------------------------------------------------------------
|
2665
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
2666
|
+
---------------------------------------------------------------------------------------
|
2667
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
2668
|
+
Parameters: {"shop"=>nil}
|
2669
|
+
Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (3.0ms)
|
2670
|
+
Completed 200 OK in 14ms (Views: 13.8ms | ActiveRecord: 0.0ms)
|
2671
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2672
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2673
|
+
---------------------------------------------------------------------------------------
|
2674
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
2675
|
+
---------------------------------------------------------------------------------------
|
2676
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2677
|
+
Parameters: {"shop"=>"allowed.myshopify.com"}
|
2678
|
+
Rendered inline template (0.4ms)
|
2679
|
+
Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
2680
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2681
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2682
|
+
----------------------------------------------------------------------------------
|
2683
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
2684
|
+
----------------------------------------------------------------------------------
|
2685
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2686
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2687
|
+
Redirected to http://test.host/404.html
|
2688
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2689
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
2690
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
2691
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2692
|
+
Redirected to http://test.host/404.html
|
2693
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2694
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
2695
|
+
Processing by ShopifyApp::SessionsController#callback as HTML
|
2696
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2697
|
+
Redirected to http://test.host/404.html
|
2698
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2699
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
2700
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2701
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2702
|
+
---------------------------------------------------------------------------------------------------------
|
2703
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
2704
|
+
---------------------------------------------------------------------------------------------------------
|
2705
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2706
|
+
Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}}
|
2707
|
+
Rendered inline template (0.3ms)
|
2708
|
+
Completed 302 Found in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
2709
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2710
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2711
|
+
--------------------------------------------------------------------
|
2712
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
2713
|
+
--------------------------------------------------------------------
|
2714
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2715
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2716
|
+
-----------------------------------------------------------------------
|
2717
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
2718
|
+
-----------------------------------------------------------------------
|
2719
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2720
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2721
|
+
----------------------------------------
|
2722
|
+
ShopifyAppWhitelistTest: test_is_working
|
2723
|
+
----------------------------------------
|
2724
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2725
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2726
|
+
---------------------------------------------------------------------------------------
|
2727
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
2728
|
+
---------------------------------------------------------------------------------------
|
2729
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2730
|
+
Parameters: {"shop"=>"allowed.myshopify.com"}
|
2731
|
+
Rendered inline template (1.1ms)
|
2732
|
+
Completed 200 OK in 10ms (Views: 8.2ms | ActiveRecord: 0.0ms)
|
2733
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2734
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2735
|
+
----------------------------------------------------------------------------------
|
2736
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
2737
|
+
----------------------------------------------------------------------------------
|
2738
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2739
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2740
|
+
Redirected to http://test.host/404.html
|
2741
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2742
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
2743
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
2744
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2745
|
+
Redirected to http://test.host/404.html
|
2746
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2747
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
2748
|
+
Processing by ShopifyApp::SessionsController#callback as HTML
|
2749
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2750
|
+
Redirected to http://test.host/404.html
|
2751
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2752
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
2753
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2754
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2755
|
+
---------------------------------------------------------------------------------------
|
2756
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
2757
|
+
---------------------------------------------------------------------------------------
|
2758
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
2759
|
+
Parameters: {"shop"=>nil}
|
2760
|
+
Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (0.8ms)
|
2761
|
+
Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)
|
2762
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2763
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2764
|
+
---------------------------------------------------------------------------------------------------------
|
2765
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
2766
|
+
---------------------------------------------------------------------------------------------------------
|
2767
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2768
|
+
Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}}
|
2769
|
+
Rendered inline template (0.3ms)
|
2770
|
+
Completed 302 Found in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
2771
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2772
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2773
|
+
--------------------------------------------------------------------
|
2774
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
2775
|
+
--------------------------------------------------------------------
|
2776
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2777
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
2778
|
+
-----------------------------------------------------------------------
|
2779
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
2780
|
+
-----------------------------------------------------------------------
|
2781
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2782
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2783
|
+
----------------------------------------
|
2784
|
+
ShopifyAppWhitelistTest: test_is_working
|
2785
|
+
----------------------------------------
|
2786
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2787
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2788
|
+
---------------------------------------------------------------------------------------
|
2789
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
2790
|
+
---------------------------------------------------------------------------------------
|
2791
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
2792
|
+
Parameters: {"shop"=>nil}
|
2793
|
+
Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (1.4ms)
|
2794
|
+
Completed 200 OK in 9ms (Views: 8.9ms | ActiveRecord: 0.0ms)
|
2795
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2796
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2797
|
+
---------------------------------------------------------------------------------------------------------
|
2798
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
2799
|
+
---------------------------------------------------------------------------------------------------------
|
2800
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2801
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2802
|
+
Redirected to http://test.host/404.html
|
2803
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2804
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
2805
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2806
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2807
|
+
----------------------------------------------------------------------------------
|
2808
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
2809
|
+
----------------------------------------------------------------------------------
|
2810
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2811
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2812
|
+
Redirected to http://test.host/404.html
|
2813
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2814
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
2815
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
2816
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2817
|
+
Redirected to http://test.host/404.html
|
2818
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2819
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
2820
|
+
Processing by ShopifyApp::SessionsController#callback as HTML
|
2821
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2822
|
+
Redirected to http://test.host/404.html
|
2823
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2824
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
2825
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2826
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2827
|
+
---------------------------------------------------------------------------------------
|
2828
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
2829
|
+
---------------------------------------------------------------------------------------
|
2830
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2831
|
+
Parameters: {"shop"=>"allowed.myshopify.com"}
|
2832
|
+
Rendered inline template (0.5ms)
|
2833
|
+
Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
2834
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2835
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2836
|
+
--------------------------------------------------------------------
|
2837
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
2838
|
+
--------------------------------------------------------------------
|
2839
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2840
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2841
|
+
-----------------------------------------------------------------------
|
2842
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
2843
|
+
-----------------------------------------------------------------------
|
2844
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2845
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2846
|
+
----------------------------------------
|
2847
|
+
ShopifyAppWhitelistTest: test_is_working
|
2848
|
+
----------------------------------------
|
2849
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2850
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2851
|
+
---------------------------------------------------------------------------------------------------------
|
2852
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
2853
|
+
---------------------------------------------------------------------------------------------------------
|
2854
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2855
|
+
Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}}
|
2856
|
+
Rendered inline template (1.2ms)
|
2857
|
+
Completed 302 Found in 9ms (Views: 7.3ms | ActiveRecord: 0.0ms)
|
2858
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2859
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2860
|
+
----------------------------------------------------------------------------------
|
2861
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
2862
|
+
----------------------------------------------------------------------------------
|
2863
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2864
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2865
|
+
Redirected to http://test.host/404.html
|
2866
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2867
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
2868
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
2869
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2870
|
+
Redirected to http://test.host/404.html
|
2871
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2872
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
2873
|
+
Processing by ShopifyApp::SessionsController#callback as HTML
|
2874
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2875
|
+
Redirected to http://test.host/404.html
|
2876
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2877
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
2878
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2879
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2880
|
+
---------------------------------------------------------------------------------------
|
2881
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
2882
|
+
---------------------------------------------------------------------------------------
|
2883
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2884
|
+
Parameters: {"shop"=>"allowed.myshopify.com"}
|
2885
|
+
Rendered inline template (0.6ms)
|
2886
|
+
Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)
|
2887
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2888
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2889
|
+
---------------------------------------------------------------------------------------
|
2890
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
2891
|
+
---------------------------------------------------------------------------------------
|
2892
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
2893
|
+
Parameters: {"shop"=>nil}
|
2894
|
+
Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (1.2ms)
|
2895
|
+
Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)
|
2896
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2897
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2898
|
+
--------------------------------------------------------------------
|
2899
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
2900
|
+
--------------------------------------------------------------------
|
2901
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2902
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2903
|
+
----------------------------------------
|
2904
|
+
ShopifyAppWhitelistTest: test_is_working
|
2905
|
+
----------------------------------------
|
2906
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2907
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2908
|
+
-----------------------------------------------------------------------
|
2909
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
2910
|
+
-----------------------------------------------------------------------
|
2911
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2912
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2913
|
+
---------------------------------------------------------------------------------------------------------
|
2914
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
2915
|
+
---------------------------------------------------------------------------------------------------------
|
2916
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2917
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2918
|
+
Redirected to http://test.host/404.html
|
2919
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2920
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
2921
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2922
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2923
|
+
---------------------------------------------------------------------------------------
|
2924
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
2925
|
+
---------------------------------------------------------------------------------------
|
2926
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2927
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2928
|
+
---------------------------------------------------------------------------------------
|
2929
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
2930
|
+
---------------------------------------------------------------------------------------
|
2931
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
2932
|
+
Parameters: {"shop"=>nil}
|
2933
|
+
Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (2.5ms)
|
2934
|
+
Completed 200 OK in 16ms (Views: 16.0ms | ActiveRecord: 0.0ms)
|
2935
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2936
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2937
|
+
----------------------------------------------------------------------------------
|
2938
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
2939
|
+
----------------------------------------------------------------------------------
|
2940
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2941
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2942
|
+
Redirected to http://test.host/404.html
|
2943
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2944
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
2945
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
2946
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2947
|
+
Redirected to http://test.host/404.html
|
2948
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2949
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
2950
|
+
Processing by ShopifyApp::SessionsController#callback as HTML
|
2951
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2952
|
+
Redirected to http://test.host/404.html
|
2953
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2954
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
2955
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
2956
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2957
|
+
--------------------------------------------------------------------
|
2958
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
2959
|
+
--------------------------------------------------------------------
|
2960
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2961
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2962
|
+
-----------------------------------------------------------------------
|
2963
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
2964
|
+
-----------------------------------------------------------------------
|
2965
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2966
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2967
|
+
----------------------------------------
|
2968
|
+
ShopifyAppWhitelistTest: test_is_working
|
2969
|
+
----------------------------------------
|
2970
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2971
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2972
|
+
---------------------------------------------------------------------------------------
|
2973
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
2974
|
+
---------------------------------------------------------------------------------------
|
2975
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2976
|
+
Parameters: {"shop"=>"allowed.myshopify.com"}
|
2977
|
+
Rendered inline template (1.2ms)
|
2978
|
+
Completed 200 OK in 10ms (Views: 7.5ms | ActiveRecord: 0.0ms)
|
2979
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2980
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2981
|
+
---------------------------------------------------------------------------------------------------------
|
2982
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
2983
|
+
---------------------------------------------------------------------------------------------------------
|
2984
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
2985
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
2986
|
+
Redirected to http://test.host/404.html
|
2987
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
2988
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
2989
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2990
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2991
|
+
---------------------------------------------------------------------------------------
|
2992
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
2993
|
+
---------------------------------------------------------------------------------------
|
2994
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
2995
|
+
Parameters: {"shop"=>nil}
|
2996
|
+
Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (1.7ms)
|
2997
|
+
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)
|
2998
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2999
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
3000
|
+
----------------------------------------------------------------------------------
|
3001
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
3002
|
+
----------------------------------------------------------------------------------
|
3003
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
3004
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
3005
|
+
Redirected to http://test.host/404.html
|
3006
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
3007
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
3008
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
3009
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
3010
|
+
Redirected to http://test.host/404.html
|
3011
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
3012
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
3013
|
+
Processing by ShopifyApp::SessionsController#callback as HTML
|
3014
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
3015
|
+
Redirected to http://test.host/404.html
|
3016
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
3017
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
3018
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3019
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3020
|
+
----------------------------------------
|
3021
|
+
ShopifyAppWhitelistTest: test_is_working
|
3022
|
+
----------------------------------------
|
3023
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3024
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3025
|
+
--------------------------------------------------------------------
|
3026
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
3027
|
+
--------------------------------------------------------------------
|
3028
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3029
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3030
|
+
-----------------------------------------------------------------------
|
3031
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
3032
|
+
-----------------------------------------------------------------------
|
3033
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3034
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3035
|
+
---------------------------------------------------------------------------------------------------------
|
3036
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
3037
|
+
---------------------------------------------------------------------------------------------------------
|
3038
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
3039
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
3040
|
+
Redirected to http://test.host/404.html
|
3041
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
3042
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
|
3043
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
3044
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3045
|
+
---------------------------------------------------------------------------------------
|
3046
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
3047
|
+
---------------------------------------------------------------------------------------
|
3048
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
3049
|
+
Parameters: {"shop"=>"allowed.myshopify.com"}
|
3050
|
+
Rendering inline template
|
3051
|
+
Rendered inline template (2.3ms)
|
3052
|
+
Completed 200 OK in 11ms (Views: 8.5ms | ActiveRecord: 0.0ms)
|
3053
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
3054
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
3055
|
+
---------------------------------------------------------------------------------------
|
3056
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
3057
|
+
---------------------------------------------------------------------------------------
|
3058
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
3059
|
+
Parameters: {"parmas"=>{"shop"=>""}}
|
3060
|
+
Rendering /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb
|
3061
|
+
Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (1.0ms)
|
3062
|
+
Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 0.0ms)
|
3063
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
3064
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3065
|
+
----------------------------------------------------------------------------------
|
3066
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
3067
|
+
----------------------------------------------------------------------------------
|
3068
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
3069
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
3070
|
+
Redirected to http://test.host/404.html
|
3071
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
3072
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
3073
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
3074
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
3075
|
+
Redirected to http://test.host/404.html
|
3076
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
3077
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
3078
|
+
Processing by ShopifyApp::SessionsController#callback as HTML
|
3079
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
3080
|
+
Redirected to http://test.host/404.html
|
3081
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
3082
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
3083
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
3084
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3085
|
+
--------------------------------------------------------------------
|
3086
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
3087
|
+
--------------------------------------------------------------------
|
3088
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3089
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3090
|
+
-----------------------------------------------------------------------
|
3091
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
3092
|
+
-----------------------------------------------------------------------
|
3093
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3094
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3095
|
+
----------------------------------------
|
3096
|
+
ShopifyAppWhitelistTest: test_is_working
|
3097
|
+
----------------------------------------
|
3098
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3099
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3100
|
+
---------------------------------------------------------------------------------------
|
3101
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
3102
|
+
---------------------------------------------------------------------------------------
|
3103
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
3104
|
+
Parameters: {"shop"=>"allowed.myshopify.com"}
|
3105
|
+
Rendering inline template
|
3106
|
+
Rendered inline template (1.2ms)
|
3107
|
+
Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.0ms)
|
3108
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
3109
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3110
|
+
---------------------------------------------------------------------------------------
|
3111
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
3112
|
+
---------------------------------------------------------------------------------------
|
3113
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
3114
|
+
Parameters: {"shop"=>""}
|
3115
|
+
Rendering /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb
|
3116
|
+
Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (0.6ms)
|
3117
|
+
Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
3118
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
3119
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3120
|
+
---------------------------------------------------------------------------------------------------------
|
3121
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
3122
|
+
---------------------------------------------------------------------------------------------------------
|
3123
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
3124
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
3125
|
+
Redirected to http://test.host/404.html
|
3126
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
3127
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
|
3128
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
3129
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3130
|
+
----------------------------------------------------------------------------------
|
3131
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
3132
|
+
----------------------------------------------------------------------------------
|
3133
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
3134
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
3135
|
+
Redirected to http://test.host/404.html
|
3136
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
3137
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
3138
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
3139
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
3140
|
+
Redirected to http://test.host/404.html
|
3141
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
3142
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
3143
|
+
Processing by ShopifyApp::SessionsController#callback as HTML
|
3144
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
3145
|
+
Redirected to http://test.host/404.html
|
3146
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
3147
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
3148
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
3149
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3150
|
+
--------------------------------------------------------------------
|
3151
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
3152
|
+
--------------------------------------------------------------------
|
3153
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
3154
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3155
|
+
-----------------------------------------------------------------------
|
3156
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
3157
|
+
-----------------------------------------------------------------------
|
3158
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
3159
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3160
|
+
----------------------------------------
|
3161
|
+
ShopifyAppWhitelistTest: test_is_working
|
3162
|
+
----------------------------------------
|
3163
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
3164
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
3165
|
+
--------------------------------------------------------------------
|
3166
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
3167
|
+
--------------------------------------------------------------------
|
3168
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
3169
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3170
|
+
----------------------------------------
|
3171
|
+
ShopifyAppWhitelistTest: test_is_working
|
3172
|
+
----------------------------------------
|
3173
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
3174
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3175
|
+
-----------------------------------------------------------------------
|
3176
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
3177
|
+
-----------------------------------------------------------------------
|
3178
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
3179
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3180
|
+
---------------------------------------------------------------------------------------
|
3181
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
3182
|
+
---------------------------------------------------------------------------------------
|
3183
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
3184
|
+
Parameters: {"shop"=>""}
|
3185
|
+
Rendering /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb
|
3186
|
+
Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (2.2ms)
|
3187
|
+
Completed 200 OK in 10ms (Views: 7.2ms | ActiveRecord: 0.0ms)
|
3188
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
3189
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3190
|
+
---------------------------------------------------------------------------------------------------------
|
3191
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
3192
|
+
---------------------------------------------------------------------------------------------------------
|
3193
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
3194
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
3195
|
+
Redirected to http://test.host/404.html
|
3196
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
3197
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
|
3198
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
3199
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3200
|
+
----------------------------------------------------------------------------------
|
3201
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
3202
|
+
----------------------------------------------------------------------------------
|
3203
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
3204
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
3205
|
+
Redirected to http://test.host/404.html
|
3206
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
3207
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
3208
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
3209
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
3210
|
+
Redirected to http://test.host/404.html
|
3211
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
3212
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
3213
|
+
Processing by ShopifyApp::SessionsController#callback as HTML
|
3214
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
3215
|
+
Redirected to http://test.host/404.html
|
3216
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
3217
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
3218
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
3219
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
3220
|
+
---------------------------------------------------------------------------------------
|
3221
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
3222
|
+
---------------------------------------------------------------------------------------
|
3223
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
3224
|
+
Parameters: {"shop"=>"allowed.myshopify.com"}
|
3225
|
+
Rendering inline template
|
3226
|
+
Rendered inline template (0.4ms)
|
3227
|
+
Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
3228
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
3229
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3230
|
+
--------------------------------------------------------------------
|
3231
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
3232
|
+
--------------------------------------------------------------------
|
3233
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3234
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3235
|
+
-----------------------------------------------------------------------
|
3236
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
3237
|
+
-----------------------------------------------------------------------
|
3238
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
3239
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3240
|
+
----------------------------------------
|
3241
|
+
ShopifyAppWhitelistTest: test_is_working
|
3242
|
+
----------------------------------------
|
3243
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3244
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3245
|
+
---------------------------------------------------------------------------------------
|
3246
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
3247
|
+
---------------------------------------------------------------------------------------
|
3248
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
3249
|
+
Parameters: {"shop"=>"allowed.myshopify.com"}
|
3250
|
+
Rendered inline template (1.8ms)
|
3251
|
+
Completed 200 OK in 12ms (Views: 9.8ms | ActiveRecord: 0.0ms)
|
3252
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3253
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3254
|
+
---------------------------------------------------------------------------------------
|
3255
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
3256
|
+
---------------------------------------------------------------------------------------
|
3257
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
3258
|
+
Parameters: {"shop"=>nil}
|
3259
|
+
Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (1.4ms)
|
3260
|
+
Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)
|
3261
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3262
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3263
|
+
---------------------------------------------------------------------------------------------------------
|
3264
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
3265
|
+
---------------------------------------------------------------------------------------------------------
|
3266
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
3267
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
3268
|
+
Redirected to http://test.host/404.html
|
3269
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
3270
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
3271
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3272
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3273
|
+
----------------------------------------------------------------------------------
|
3274
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
3275
|
+
----------------------------------------------------------------------------------
|
3276
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
3277
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
3278
|
+
Redirected to http://test.host/404.html
|
3279
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
3280
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
3281
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
3282
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
3283
|
+
Redirected to http://test.host/404.html
|
3284
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
3285
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
3286
|
+
Processing by ShopifyApp::SessionsController#callback as HTML
|
3287
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
3288
|
+
Redirected to http://test.host/404.html
|
3289
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
3290
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
3291
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3292
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3293
|
+
---------------------------------------------------------------------------------------
|
3294
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
3295
|
+
---------------------------------------------------------------------------------------
|
3296
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
3297
|
+
Parameters: {"shop"=>"allowed.myshopify.com"}
|
3298
|
+
Rendered inline template (1.9ms)
|
3299
|
+
Completed 200 OK in 15ms (Views: 12.0ms | ActiveRecord: 0.0ms)
|
3300
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3301
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
3302
|
+
---------------------------------------------------------------------------------------------------------
|
3303
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
3304
|
+
---------------------------------------------------------------------------------------------------------
|
3305
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
3306
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
3307
|
+
Redirected to http://test.host/404.html
|
3308
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
3309
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
3310
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3311
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3312
|
+
---------------------------------------------------------------------------------------
|
3313
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
3314
|
+
---------------------------------------------------------------------------------------
|
3315
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
3316
|
+
Parameters: {"shop"=>nil}
|
3317
|
+
Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (1.4ms)
|
3318
|
+
Completed 200 OK in 8ms (Views: 5.0ms | ActiveRecord: 0.0ms)
|
3319
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3320
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3321
|
+
----------------------------------------------------------------------------------
|
3322
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
3323
|
+
----------------------------------------------------------------------------------
|
3324
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
3325
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
3326
|
+
Redirected to http://test.host/404.html
|
3327
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
3328
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
3329
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
3330
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
3331
|
+
Redirected to http://test.host/404.html
|
3332
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
3333
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
3334
|
+
Processing by ShopifyApp::SessionsController#callback as HTML
|
3335
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
3336
|
+
Redirected to http://test.host/404.html
|
3337
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
3338
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
3339
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3340
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3341
|
+
-----------------------------------------------------------------------
|
3342
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
3343
|
+
-----------------------------------------------------------------------
|
3344
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3345
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
3346
|
+
--------------------------------------------------------------------
|
3347
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
3348
|
+
--------------------------------------------------------------------
|
3349
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
3350
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
3351
|
+
----------------------------------------
|
3352
|
+
ShopifyAppWhitelistTest: test_is_working
|
3353
|
+
----------------------------------------
|
3354
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
3355
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
3356
|
+
---------------------------------------------------------------------------------------
|
3357
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
3358
|
+
---------------------------------------------------------------------------------------
|
3359
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
3360
|
+
Parameters: {"shop"=>nil}
|
3361
|
+
Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (1.9ms)
|
3362
|
+
Completed 200 OK in 14ms (Views: 13.3ms | ActiveRecord: 0.0ms)
|
3363
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3364
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3365
|
+
----------------------------------------------------------------------------------
|
3366
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
3367
|
+
----------------------------------------------------------------------------------
|
3368
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
3369
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
3370
|
+
Redirected to http://test.host/404.html
|
3371
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
3372
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
3373
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
3374
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
3375
|
+
Redirected to http://test.host/404.html
|
3376
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
3377
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
3378
|
+
Processing by ShopifyApp::SessionsController#callback as HTML
|
3379
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
3380
|
+
Redirected to http://test.host/404.html
|
3381
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
3382
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
3383
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3384
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
3385
|
+
---------------------------------------------------------------------------------------
|
3386
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
3387
|
+
---------------------------------------------------------------------------------------
|
3388
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
3389
|
+
Parameters: {"shop"=>"allowed.myshopify.com"}
|
3390
|
+
Rendered inline template (0.7ms)
|
3391
|
+
Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
3392
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3393
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3394
|
+
---------------------------------------------------------------------------------------------------------
|
3395
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
3396
|
+
---------------------------------------------------------------------------------------------------------
|
3397
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
3398
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
3399
|
+
Redirected to http://test.host/404.html
|
3400
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
3401
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
3402
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3403
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3404
|
+
--------------------------------------------------------------------
|
3405
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
3406
|
+
--------------------------------------------------------------------
|
3407
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3408
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3409
|
+
----------------------------------------
|
3410
|
+
ShopifyAppWhitelistTest: test_is_working
|
3411
|
+
----------------------------------------
|
3412
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3413
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3414
|
+
-----------------------------------------------------------------------
|
3415
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
3416
|
+
-----------------------------------------------------------------------
|
3417
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3418
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3419
|
+
--------------------------------------------------------------------
|
3420
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
3421
|
+
--------------------------------------------------------------------
|
3422
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
3423
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3424
|
+
----------------------------------------
|
3425
|
+
ShopifyAppWhitelistTest: test_is_working
|
3426
|
+
----------------------------------------
|
3427
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3428
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3429
|
+
-----------------------------------------------------------------------
|
3430
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
3431
|
+
-----------------------------------------------------------------------
|
3432
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
3433
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3434
|
+
----------------------------------------------------------------------------------
|
3435
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
3436
|
+
----------------------------------------------------------------------------------
|
3437
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
3438
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
3439
|
+
Redirected to http://test.host/404.html
|
3440
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
3441
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
|
3442
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
3443
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
3444
|
+
Redirected to http://test.host/404.html
|
3445
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
3446
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
3447
|
+
Processing by ShopifyApp::SessionsController#callback as HTML
|
3448
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
3449
|
+
Redirected to http://test.host/404.html
|
3450
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
3451
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
3452
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
3453
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3454
|
+
---------------------------------------------------------------------------------------
|
3455
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
3456
|
+
---------------------------------------------------------------------------------------
|
3457
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
3458
|
+
Parameters: {"shop"=>"allowed.myshopify.com"}
|
3459
|
+
Rendering inline template
|
3460
|
+
Rendered inline template (1.8ms)
|
3461
|
+
Completed 200 OK in 11ms (Views: 8.4ms | ActiveRecord: 0.0ms)
|
3462
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
3463
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3464
|
+
---------------------------------------------------------------------------------------
|
3465
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
3466
|
+
---------------------------------------------------------------------------------------
|
3467
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
3468
|
+
Parameters: {"shop"=>""}
|
3469
|
+
Rendering /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb
|
3470
|
+
Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (0.6ms)
|
3471
|
+
Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
3472
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
3473
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3474
|
+
---------------------------------------------------------------------------------------------------------
|
3475
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
3476
|
+
---------------------------------------------------------------------------------------------------------
|
3477
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
3478
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
3479
|
+
Redirected to http://test.host/404.html
|
3480
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
3481
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
3482
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|