shopify_app_whitelist 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7ca2e3bf33fc490eb9549133f19a5de809ca110f
4
- data.tar.gz: b5fc80b40d41b063d37a4de86ce81ecddbe5ce81
3
+ metadata.gz: af6a0fd9fbecbfd79c5a76265280c7063686ac2d
4
+ data.tar.gz: abc7011981281dc4300f11901d9d62ac839a79a8
5
5
  SHA512:
6
- metadata.gz: 2807dcaab025582e0d5d29bd7bc3c33d25ce1bcffc4890fa462bb97560edbeea888a588006f4de59129314e8e966b4984c4721b791e4b338db67601a036228ea
7
- data.tar.gz: dcbc74538aa05b9b4ca32bff68194a339d2415193609fb9691f220bb1641a2c54664e9b936cf63f484a2350fec356c02869d6e0f443449d943137dbaa8b2c010
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
 
@@ -1,4 +1,4 @@
1
1
  module ShopifyAppWhitelist
2
2
  # Gem version
3
- VERSION = '1.0.0'.freeze
3
+ VERSION = '1.1.0'.freeze
4
4
  end
@@ -8,28 +8,44 @@ module ShopifyAppWhitelist
8
8
  end
9
9
 
10
10
  test 'not allowed shop should redirect to configured location' do
11
- post :create, { shop: 'not-allowed.myshopify.com' }
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
- post :create, { shop: 'allowed.myshopify.com' }
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
- get :new, { shop: nil }
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
- send method, action, { shop: 'not-allowed.myshopify.com' }
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
- config.serve_static_files = true
17
- config.static_cache_control = 'public, max-age=3600'
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
@@ -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
   (0.1ms) rollback transaction
1747
+  (0.1ms) begin transaction
1748
+ --------------------------------------------------------------------
1749
+ ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
1750
+ --------------------------------------------------------------------
1751
+  (0.1ms) rollback transaction
1752
+  (0.1ms) begin transaction
1753
+ -----------------------------------------------------------------------
1754
+ ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
1755
+ -----------------------------------------------------------------------
1756
+  (0.0ms) rollback transaction
1757
+  (0.1ms) begin transaction
1758
+ ----------------------------------------
1759
+ ShopifyAppWhitelistTest: test_is_working
1760
+ ----------------------------------------
1761
+  (0.0ms) rollback transaction
1762
+  (0.1ms) begin transaction
1763
+ ---------------------------------------------------------------------------------------------------------
1764
+ ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
1765
+ ---------------------------------------------------------------------------------------------------------
1766
+ Processing by ShopifyApp::SessionsController#create as HTML
1767
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
1768
+ Redirected to http://test.host/404.html
1769
+ Filter chain halted as :whitelist_check rendered or redirected
1770
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
1771
+  (0.1ms) rollback transaction
1772
+  (0.1ms) begin transaction
1773
+ ----------------------------------------------------------------------------------
1774
+ ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
1775
+ ----------------------------------------------------------------------------------
1776
+ Processing by ShopifyApp::SessionsController#create as HTML
1777
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
1778
+ Redirected to http://test.host/404.html
1779
+ Filter chain halted as :whitelist_check rendered or redirected
1780
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
1781
+ Processing by ShopifyApp::SessionsController#new as HTML
1782
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
1783
+ Redirected to http://test.host/404.html
1784
+ Filter chain halted as :whitelist_check rendered or redirected
1785
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1786
+ Processing by ShopifyApp::SessionsController#callback as HTML
1787
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
1788
+ Redirected to http://test.host/404.html
1789
+ Filter chain halted as :whitelist_check rendered or redirected
1790
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1791
+  (0.1ms) rollback transaction
1792
+  (0.1ms) begin transaction
1793
+ ---------------------------------------------------------------------------------------
1794
+ ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
1795
+ ---------------------------------------------------------------------------------------
1796
+ Processing by ShopifyApp::SessionsController#new as HTML
1797
+ Parameters: {"shop"=>nil}
1798
+ Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (2.3ms)
1799
+ Completed 200 OK in 16ms (Views: 15.3ms | ActiveRecord: 0.0ms)
1800
+  (0.1ms) rollback transaction
1801
+  (0.0ms) begin transaction
1802
+ ---------------------------------------------------------------------------------------
1803
+ ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
1804
+ ---------------------------------------------------------------------------------------
1805
+ Processing by ShopifyApp::SessionsController#create as HTML
1806
+ Parameters: {"shop"=>"allowed.myshopify.com"}
1807
+ Rendered inline template (0.3ms)
1808
+ Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.0ms)
1809
+  (0.1ms) rollback transaction
1810
+  (0.1ms) begin transaction
1811
+ ---------------------------------------------------------------------------------------------------------
1812
+ ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
1813
+ ---------------------------------------------------------------------------------------------------------
1814
+ Processing by ShopifyApp::SessionsController#create as HTML
1815
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
1816
+ Redirected to http://test.host/404.html
1817
+ Filter chain halted as :whitelist_check rendered or redirected
1818
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
1819
+  (0.1ms) rollback transaction
1820
+  (0.2ms) begin transaction
1821
+ ----------------------------------------------------------------------------------
1822
+ ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
1823
+ ----------------------------------------------------------------------------------
1824
+ Processing by ShopifyApp::SessionsController#create as HTML
1825
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
1826
+ Redirected to http://test.host/404.html
1827
+ Filter chain halted as :whitelist_check rendered or redirected
1828
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1829
+ Processing by ShopifyApp::SessionsController#new as HTML
1830
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
1831
+ Redirected to http://test.host/404.html
1832
+ Filter chain halted as :whitelist_check rendered or redirected
1833
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1834
+ Processing by ShopifyApp::SessionsController#callback as HTML
1835
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
1836
+ Redirected to http://test.host/404.html
1837
+ Filter chain halted as :whitelist_check rendered or redirected
1838
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1839
+  (0.1ms) rollback transaction
1840
+  (0.1ms) begin transaction
1841
+ ---------------------------------------------------------------------------------------
1842
+ ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
1843
+ ---------------------------------------------------------------------------------------
1844
+ Processing by ShopifyApp::SessionsController#create as HTML
1845
+ Parameters: {"shop"=>"allowed.myshopify.com"}
1846
+ Rendered inline template (2.3ms)
1847
+ Completed 200 OK in 11ms (Views: 9.7ms | ActiveRecord: 0.0ms)
1848
+  (0.1ms) rollback transaction
1849
+  (0.0ms) begin transaction
1850
+ ---------------------------------------------------------------------------------------
1851
+ ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
1852
+ ---------------------------------------------------------------------------------------
1853
+ Processing by ShopifyApp::SessionsController#new as HTML
1854
+ Parameters: {"shop"=>nil}
1855
+ Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (0.9ms)
1856
+ Completed 200 OK in 3ms (Views: 3.2ms | ActiveRecord: 0.0ms)
1857
+  (0.1ms) rollback transaction
1858
+  (0.1ms) begin transaction
1859
+ ----------------------------------------
1860
+ ShopifyAppWhitelistTest: test_is_working
1861
+ ----------------------------------------
1862
+  (0.1ms) rollback transaction
1863
+  (0.2ms) begin transaction
1864
+ --------------------------------------------------------------------
1865
+ ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
1866
+ --------------------------------------------------------------------
1867
+  (0.1ms) rollback transaction
1868
+  (0.1ms) begin transaction
1869
+ -----------------------------------------------------------------------
1870
+ ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
1871
+ -----------------------------------------------------------------------
1872
+  (0.0ms) rollback transaction
1873
+  (0.2ms) begin transaction
1874
+ ---------------------------------------------------------------------------------------
1875
+ ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
1876
+ ---------------------------------------------------------------------------------------
1877
+ Processing by ShopifyApp::SessionsController#new as HTML
1878
+ Parameters: {"shop"=>nil}
1879
+ Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (2.3ms)
1880
+ Completed 200 OK in 15ms (Views: 14.5ms | ActiveRecord: 0.0ms)
1881
+  (0.1ms) rollback transaction
1882
+  (0.1ms) begin transaction
1883
+ ---------------------------------------------------------------------------------------------------------
1884
+ ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
1885
+ ---------------------------------------------------------------------------------------------------------
1886
+ Processing by ShopifyApp::SessionsController#create as HTML
1887
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
1888
+ Redirected to http://test.host/404.html
1889
+ Filter chain halted as :whitelist_check rendered or redirected
1890
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
1891
+  (0.1ms) rollback transaction
1892
+  (0.1ms) begin transaction
1893
+ ----------------------------------------------------------------------------------
1894
+ ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
1895
+ ----------------------------------------------------------------------------------
1896
+ Processing by ShopifyApp::SessionsController#create as HTML
1897
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
1898
+ Redirected to http://test.host/404.html
1899
+ Filter chain halted as :whitelist_check rendered or redirected
1900
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1901
+ Processing by ShopifyApp::SessionsController#new as HTML
1902
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
1903
+ Redirected to http://test.host/404.html
1904
+ Filter chain halted as :whitelist_check rendered or redirected
1905
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1906
+ Processing by ShopifyApp::SessionsController#callback as HTML
1907
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
1908
+ Redirected to http://test.host/404.html
1909
+ Filter chain halted as :whitelist_check rendered or redirected
1910
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1911
+  (0.1ms) rollback transaction
1912
+  (0.1ms) begin transaction
1913
+ ---------------------------------------------------------------------------------------
1914
+ ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
1915
+ ---------------------------------------------------------------------------------------
1916
+ Processing by ShopifyApp::SessionsController#create as HTML
1917
+ Parameters: {"shop"=>"allowed.myshopify.com"}
1918
+ Rendered inline template (0.4ms)
1919
+ Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.0ms)
1920
+  (0.1ms) rollback transaction
1921
+  (0.1ms) begin transaction
1922
+ --------------------------------------------------------------------
1923
+ ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
1924
+ --------------------------------------------------------------------
1925
+  (0.1ms) rollback transaction
1926
+  (0.4ms) begin transaction
1927
+ -----------------------------------------------------------------------
1928
+ ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
1929
+ -----------------------------------------------------------------------
1930
+  (0.2ms) rollback transaction
1931
+  (0.1ms) begin transaction
1932
+ ----------------------------------------
1933
+ ShopifyAppWhitelistTest: test_is_working
1934
+ ----------------------------------------
1935
+  (0.1ms) rollback transaction
1936
+  (0.1ms) begin transaction
1937
+ -----------------------------------------------------------------------
1938
+ ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
1939
+ -----------------------------------------------------------------------
1940
+  (0.1ms) rollback transaction
1941
+  (0.1ms) begin transaction
1942
+ --------------------------------------------------------------------
1943
+ ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
1944
+ --------------------------------------------------------------------
1945
+  (0.0ms) rollback transaction
1946
+  (0.1ms) begin transaction
1947
+ ----------------------------------------
1948
+ ShopifyAppWhitelistTest: test_is_working
1949
+ ----------------------------------------
1950
+  (0.0ms) rollback transaction
1951
+  (0.0ms) begin transaction
1952
+ ---------------------------------------------------------------------------------------------------------
1953
+ ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
1954
+ ---------------------------------------------------------------------------------------------------------
1955
+ Processing by ShopifyApp::SessionsController#create as HTML
1956
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
1957
+ Redirected to http://test.host/404.html
1958
+ Filter chain halted as :whitelist_check rendered or redirected
1959
+ Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
1960
+  (0.1ms) rollback transaction
1961
+  (0.1ms) begin transaction
1962
+ ----------------------------------------------------------------------------------
1963
+ ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
1964
+ ----------------------------------------------------------------------------------
1965
+ Processing by ShopifyApp::SessionsController#create as HTML
1966
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
1967
+ Redirected to http://test.host/404.html
1968
+ Filter chain halted as :whitelist_check rendered or redirected
1969
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1970
+ Processing by ShopifyApp::SessionsController#new as HTML
1971
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
1972
+ Redirected to http://test.host/404.html
1973
+ Filter chain halted as :whitelist_check rendered or redirected
1974
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1975
+ Processing by ShopifyApp::SessionsController#callback as HTML
1976
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
1977
+ Redirected to http://test.host/404.html
1978
+ Filter chain halted as :whitelist_check rendered or redirected
1979
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1980
+  (0.1ms) rollback transaction
1981
+  (0.1ms) begin transaction
1982
+ ---------------------------------------------------------------------------------------
1983
+ ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
1984
+ ---------------------------------------------------------------------------------------
1985
+ Processing by ShopifyApp::SessionsController#new as HTML
1986
+ Parameters: {"shop"=>""}
1987
+ Rendering /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb
1988
+ Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (4.4ms)
1989
+ Completed 200 OK in 19ms (Views: 16.0ms | ActiveRecord: 0.0ms)
1990
+  (0.2ms) rollback transaction
1991
+  (0.2ms) begin transaction
1992
+ ---------------------------------------------------------------------------------------
1993
+ ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
1994
+ ---------------------------------------------------------------------------------------
1995
+ Processing by ShopifyApp::SessionsController#create as HTML
1996
+ Parameters: {"shop"=>"allowed.myshopify.com"}
1997
+ Rendering inline template
1998
+ Rendered inline template (0.3ms)
1999
+ Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.0ms)
2000
+  (0.1ms) rollback transaction
2001
+  (0.1ms) begin transaction
2002
+ ----------------------------------------
2003
+ ShopifyAppWhitelistTest: test_is_working
2004
+ ----------------------------------------
2005
+  (0.1ms) rollback transaction
2006
+  (0.1ms) begin transaction
2007
+ --------------------------------------------------------------------
2008
+ ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
2009
+ --------------------------------------------------------------------
2010
+  (0.0ms) rollback transaction
2011
+  (0.1ms) begin transaction
2012
+ -----------------------------------------------------------------------
2013
+ ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
2014
+ -----------------------------------------------------------------------
2015
+  (0.0ms) rollback transaction
2016
+  (0.0ms) begin transaction
2017
+ ---------------------------------------------------------------------------------------
2018
+ ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
2019
+ ---------------------------------------------------------------------------------------
2020
+ Processing by ShopifyApp::SessionsController#create as HTML
2021
+ Parameters: {"shop"=>"allowed.myshopify.com"}
2022
+ Rendered inline template (1.1ms)
2023
+ Completed 200 OK in 10ms (Views: 7.6ms | ActiveRecord: 0.0ms)
2024
+  (0.1ms) rollback transaction
2025
+  (0.1ms) begin transaction
2026
+ ---------------------------------------------------------------------------------------
2027
+ ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
2028
+ ---------------------------------------------------------------------------------------
2029
+ Processing by ShopifyApp::SessionsController#new as HTML
2030
+ Parameters: {"shop"=>nil}
2031
+ Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (0.8ms)
2032
+ Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
2033
+  (0.1ms) rollback transaction
2034
+  (0.2ms) begin transaction
2035
+ ---------------------------------------------------------------------------------------------------------
2036
+ ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
2037
+ ---------------------------------------------------------------------------------------------------------
2038
+ Processing by ShopifyApp::SessionsController#create as HTML
2039
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2040
+ Redirected to http://test.host/404.html
2041
+ Filter chain halted as :whitelist_check rendered or redirected
2042
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2043
+  (0.1ms) rollback transaction
2044
+  (0.1ms) begin transaction
2045
+ ----------------------------------------------------------------------------------
2046
+ ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
2047
+ ----------------------------------------------------------------------------------
2048
+ Processing by ShopifyApp::SessionsController#create as HTML
2049
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2050
+ Redirected to http://test.host/404.html
2051
+ Filter chain halted as :whitelist_check rendered or redirected
2052
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2053
+ Processing by ShopifyApp::SessionsController#new as HTML
2054
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2055
+ Redirected to http://test.host/404.html
2056
+ Filter chain halted as :whitelist_check rendered or redirected
2057
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2058
+ Processing by ShopifyApp::SessionsController#callback as HTML
2059
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2060
+ Redirected to http://test.host/404.html
2061
+ Filter chain halted as :whitelist_check rendered or redirected
2062
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2063
+  (0.1ms) rollback transaction
2064
+  (0.1ms) begin transaction
2065
+ ---------------------------------------------------------------------------------------
2066
+ ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
2067
+ ---------------------------------------------------------------------------------------
2068
+ Processing by ShopifyApp::SessionsController#new as HTML
2069
+ Parameters: {"shop"=>""}
2070
+ Rendering /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb
2071
+ Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (1.9ms)
2072
+ Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.0ms)
2073
+  (0.1ms) rollback transaction
2074
+  (0.2ms) begin transaction
2075
+ ---------------------------------------------------------------------------------------
2076
+ ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
2077
+ ---------------------------------------------------------------------------------------
2078
+ Processing by ShopifyApp::SessionsController#create as HTML
2079
+ Parameters: {"shop"=>"allowed.myshopify.com"}
2080
+ Rendering inline template
2081
+ Rendered inline template (0.4ms)
2082
+ Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.0ms)
2083
+  (0.1ms) rollback transaction
2084
+  (0.1ms) begin transaction
2085
+ ---------------------------------------------------------------------------------------------------------
2086
+ ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
2087
+ ---------------------------------------------------------------------------------------------------------
2088
+ Processing by ShopifyApp::SessionsController#create as HTML
2089
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2090
+ Redirected to http://test.host/404.html
2091
+ Filter chain halted as :whitelist_check rendered or redirected
2092
+ Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
2093
+  (0.1ms) rollback transaction
2094
+  (0.1ms) begin transaction
2095
+ ----------------------------------------------------------------------------------
2096
+ ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
2097
+ ----------------------------------------------------------------------------------
2098
+ Processing by ShopifyApp::SessionsController#create as HTML
2099
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2100
+ Redirected to http://test.host/404.html
2101
+ Filter chain halted as :whitelist_check rendered or redirected
2102
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
2103
+ Processing by ShopifyApp::SessionsController#new as HTML
2104
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2105
+ Redirected to http://test.host/404.html
2106
+ Filter chain halted as :whitelist_check rendered or redirected
2107
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2108
+ Processing by ShopifyApp::SessionsController#callback as HTML
2109
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2110
+ Redirected to http://test.host/404.html
2111
+ Filter chain halted as :whitelist_check rendered or redirected
2112
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2113
+  (0.1ms) rollback transaction
2114
+  (0.1ms) begin transaction
2115
+ --------------------------------------------------------------------
2116
+ ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
2117
+ --------------------------------------------------------------------
2118
+  (0.0ms) rollback transaction
2119
+  (0.1ms) begin transaction
2120
+ -----------------------------------------------------------------------
2121
+ ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
2122
+ -----------------------------------------------------------------------
2123
+  (0.0ms) rollback transaction
2124
+  (0.1ms) begin transaction
2125
+ ----------------------------------------
2126
+ ShopifyAppWhitelistTest: test_is_working
2127
+ ----------------------------------------
2128
+  (0.0ms) rollback transaction
2129
+  (0.1ms) begin transaction
2130
+ ----------------------------------------------------------------------------------
2131
+ ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
2132
+ ----------------------------------------------------------------------------------
2133
+ Processing by ShopifyApp::SessionsController#create as HTML
2134
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2135
+ Redirected to http://test.host/404.html
2136
+ Filter chain halted as :whitelist_check rendered or redirected
2137
+ Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
2138
+ Processing by ShopifyApp::SessionsController#new as HTML
2139
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2140
+ Redirected to http://test.host/404.html
2141
+ Filter chain halted as :whitelist_check rendered or redirected
2142
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2143
+ Processing by ShopifyApp::SessionsController#callback as HTML
2144
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2145
+ Redirected to http://test.host/404.html
2146
+ Filter chain halted as :whitelist_check rendered or redirected
2147
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2148
+  (0.1ms) rollback transaction
2149
+  (0.1ms) begin transaction
2150
+ ---------------------------------------------------------------------------------------
2151
+ ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
2152
+ ---------------------------------------------------------------------------------------
2153
+ Processing by ShopifyApp::SessionsController#create as HTML
2154
+ Parameters: {"shop"=>"allowed.myshopify.com"}
2155
+ Rendering inline template
2156
+ Rendered inline template (1.2ms)
2157
+ Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.0ms)
2158
+  (0.2ms) rollback transaction
2159
+  (0.2ms) begin transaction
2160
+ ---------------------------------------------------------------------------------------
2161
+ ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
2162
+ ---------------------------------------------------------------------------------------
2163
+ Processing by ShopifyApp::SessionsController#new as HTML
2164
+ Parameters: {"shop"=>""}
2165
+ Rendering /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb
2166
+ Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (0.6ms)
2167
+ Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.0ms)
2168
+  (0.1ms) rollback transaction
2169
+  (0.1ms) begin transaction
2170
+ ---------------------------------------------------------------------------------------------------------
2171
+ ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
2172
+ ---------------------------------------------------------------------------------------------------------
2173
+ Processing by ShopifyApp::SessionsController#create as HTML
2174
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2175
+ Redirected to http://test.host/404.html
2176
+ Filter chain halted as :whitelist_check rendered or redirected
2177
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2178
+  (0.1ms) rollback transaction
2179
+  (0.1ms) begin transaction
2180
+ --------------------------------------------------------------------
2181
+ ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
2182
+ --------------------------------------------------------------------
2183
+  (0.1ms) rollback transaction
2184
+  (0.1ms) begin transaction
2185
+ -----------------------------------------------------------------------
2186
+ ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
2187
+ -----------------------------------------------------------------------
2188
+  (0.1ms) rollback transaction
2189
+  (0.1ms) begin transaction
2190
+ ----------------------------------------
2191
+ ShopifyAppWhitelistTest: test_is_working
2192
+ ----------------------------------------
2193
+  (0.1ms) rollback transaction
2194
+  (0.2ms) begin transaction
2195
+ ----------------------------------------------------------------------------------
2196
+ ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
2197
+ ----------------------------------------------------------------------------------
2198
+ Processing by ShopifyApp::SessionsController#create as HTML
2199
+ Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}}
2200
+ Rendered inline template (3.0ms)
2201
+ Completed 302 Found in 22ms (Views: 19.1ms | ActiveRecord: 0.0ms)
2202
+  (0.1ms) rollback transaction
2203
+  (0.1ms) begin transaction
2204
+ ---------------------------------------------------------------------------------------
2205
+ ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
2206
+ ---------------------------------------------------------------------------------------
2207
+ Processing by ShopifyApp::SessionsController#create as HTML
2208
+ Parameters: {"params"=>{"shop"=>"allowed.myshopify.com"}}
2209
+ Rendered inline template (0.6ms)
2210
+ Completed 302 Found in 3ms (Views: 1.2ms | ActiveRecord: 0.0ms)
2211
+  (0.1ms) rollback transaction
2212
+  (0.1ms) begin transaction
2213
+ ---------------------------------------------------------------------------------------------------------
2214
+ ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
2215
+ ---------------------------------------------------------------------------------------------------------
2216
+ Processing by ShopifyApp::SessionsController#create as HTML
2217
+ Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}}
2218
+ Rendered inline template (0.3ms)
2219
+ Completed 302 Found in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
2220
+  (0.1ms) rollback transaction
2221
+  (0.2ms) begin transaction
2222
+ ---------------------------------------------------------------------------------------
2223
+ ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
2224
+ ---------------------------------------------------------------------------------------
2225
+ Processing by ShopifyApp::SessionsController#new as HTML
2226
+ Parameters: {"params"=>{"shop"=>nil}}
2227
+ Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (0.7ms)
2228
+ Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
2229
+  (0.1ms) rollback transaction
2230
+  (0.1ms) begin transaction
2231
+ --------------------------------------------------------------------
2232
+ ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
2233
+ --------------------------------------------------------------------
2234
+  (0.0ms) rollback transaction
2235
+  (0.0ms) begin transaction
2236
+ -----------------------------------------------------------------------
2237
+ ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
2238
+ -----------------------------------------------------------------------
2239
+  (0.0ms) rollback transaction
2240
+  (0.0ms) begin transaction
2241
+ ----------------------------------------
2242
+ ShopifyAppWhitelistTest: test_is_working
2243
+ ----------------------------------------
2244
+  (0.0ms) rollback transaction
2245
+  (0.1ms) begin transaction
2246
+ ---------------------------------------------------------------------------------------
2247
+ ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
2248
+ ---------------------------------------------------------------------------------------
2249
+ Processing by ShopifyApp::SessionsController#create as HTML
2250
+ Parameters: {"params"=>{"shop"=>"allowed.myshopify.com"}}
2251
+ Rendered inline template (1.2ms)
2252
+ Completed 302 Found in 9ms (Views: 7.6ms | ActiveRecord: 0.0ms)
2253
+  (0.2ms) rollback transaction
2254
+  (0.1ms) begin transaction
2255
+ ---------------------------------------------------------------------------------------------------------
2256
+ ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
2257
+ ---------------------------------------------------------------------------------------------------------
2258
+ Processing by ShopifyApp::SessionsController#create as HTML
2259
+ Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}}
2260
+ Rendered inline template (0.3ms)
2261
+ Completed 302 Found in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
2262
+  (0.1ms) rollback transaction
2263
+  (0.1ms) begin transaction
2264
+ ---------------------------------------------------------------------------------------
2265
+ ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
2266
+ ---------------------------------------------------------------------------------------
2267
+ Processing by ShopifyApp::SessionsController#new as HTML
2268
+ Parameters: {"params"=>{"shop"=>nil}}
2269
+ Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (0.7ms)
2270
+ Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
2271
+  (0.1ms) rollback transaction
2272
+  (0.1ms) begin transaction
2273
+ ----------------------------------------------------------------------------------
2274
+ ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
2275
+ ----------------------------------------------------------------------------------
2276
+ Processing by ShopifyApp::SessionsController#create as HTML
2277
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2278
+ Redirected to http://test.host/404.html
2279
+ Filter chain halted as :whitelist_check rendered or redirected
2280
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2281
+ Processing by ShopifyApp::SessionsController#new as HTML
2282
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2283
+ Redirected to http://test.host/404.html
2284
+ Filter chain halted as :whitelist_check rendered or redirected
2285
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2286
+ Processing by ShopifyApp::SessionsController#callback as HTML
2287
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2288
+ Redirected to http://test.host/404.html
2289
+ Filter chain halted as :whitelist_check rendered or redirected
2290
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2291
+  (0.1ms) rollback transaction
2292
+  (0.1ms) begin transaction
2293
+ -----------------------------------------------------------------------
2294
+ ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
2295
+ -----------------------------------------------------------------------
2296
+  (0.0ms) rollback transaction
2297
+  (0.0ms) begin transaction
2298
+ --------------------------------------------------------------------
2299
+ ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
2300
+ --------------------------------------------------------------------
2301
+  (0.0ms) rollback transaction
2302
+  (0.0ms) begin transaction
2303
+ ----------------------------------------
2304
+ ShopifyAppWhitelistTest: test_is_working
2305
+ ----------------------------------------
2306
+  (0.0ms) rollback transaction
2307
+  (0.1ms) begin transaction
2308
+ ---------------------------------------------------------------------------------------------------------
2309
+ ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
2310
+ ---------------------------------------------------------------------------------------------------------
2311
+ Processing by ShopifyApp::SessionsController#create as HTML
2312
+ Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}}
2313
+ Rendered inline template (1.2ms)
2314
+ Completed 302 Found in 10ms (Views: 8.2ms | ActiveRecord: 0.0ms)
2315
+  (0.1ms) rollback transaction
2316
+  (0.1ms) begin transaction
2317
+ ---------------------------------------------------------------------------------------
2318
+ ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
2319
+ ---------------------------------------------------------------------------------------
2320
+ Processing by ShopifyApp::SessionsController#new as HTML
2321
+ Parameters: {"params"=>{"shop"=>nil}}
2322
+ Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (0.6ms)
2323
+ Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
2324
+  (0.1ms) rollback transaction
2325
+  (0.1ms) begin transaction
2326
+ ---------------------------------------------------------------------------------------
2327
+ ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
2328
+ ---------------------------------------------------------------------------------------
2329
+ Processing by ShopifyApp::SessionsController#create as HTML
2330
+ Parameters: {"shop"=>"allowed.myshopify.com"}
2331
+ Rendered inline template (0.3ms)
2332
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
2333
+  (0.1ms) rollback transaction
2334
+  (0.1ms) begin transaction
2335
+ ----------------------------------------------------------------------------------
2336
+ ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
2337
+ ----------------------------------------------------------------------------------
2338
+ Processing by ShopifyApp::SessionsController#create as HTML
2339
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2340
+ Redirected to http://test.host/404.html
2341
+ Filter chain halted as :whitelist_check rendered or redirected
2342
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2343
+ Processing by ShopifyApp::SessionsController#new as HTML
2344
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2345
+ Redirected to http://test.host/404.html
2346
+ Filter chain halted as :whitelist_check rendered or redirected
2347
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2348
+ Processing by ShopifyApp::SessionsController#callback as HTML
2349
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2350
+ Redirected to http://test.host/404.html
2351
+ Filter chain halted as :whitelist_check rendered or redirected
2352
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2353
+  (0.1ms) rollback transaction
2354
+  (0.1ms) begin transaction
2355
+ --------------------------------------------------------------------
2356
+ ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
2357
+ --------------------------------------------------------------------
2358
+  (0.1ms) rollback transaction
2359
+  (0.1ms) begin transaction
2360
+ -----------------------------------------------------------------------
2361
+ ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
2362
+ -----------------------------------------------------------------------
2363
+  (0.0ms) rollback transaction
2364
+  (0.1ms) begin transaction
2365
+ ----------------------------------------
2366
+ ShopifyAppWhitelistTest: test_is_working
2367
+ ----------------------------------------
2368
+  (0.0ms) rollback transaction
2369
+  (0.1ms) begin transaction
2370
+ --------------------------------------------------------------------
2371
+ ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
2372
+ --------------------------------------------------------------------
2373
+  (0.1ms) rollback transaction
2374
+  (0.1ms) begin transaction
2375
+ ----------------------------------------
2376
+ ShopifyAppWhitelistTest: test_is_working
2377
+ ----------------------------------------
2378
+  (0.0ms) rollback transaction
2379
+  (0.1ms) begin transaction
2380
+ -----------------------------------------------------------------------
2381
+ ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
2382
+ -----------------------------------------------------------------------
2383
+  (0.0ms) rollback transaction
2384
+  (0.0ms) begin transaction
2385
+ ---------------------------------------------------------------------------------------
2386
+ ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
2387
+ ---------------------------------------------------------------------------------------
2388
+  (0.1ms) rollback transaction
2389
+  (0.1ms) begin transaction
2390
+ ---------------------------------------------------------------------------------------
2391
+ ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
2392
+ ---------------------------------------------------------------------------------------
2393
+ Processing by ShopifyApp::SessionsController#new as HTML
2394
+ Parameters: {"params"=>{"shop"=>nil}}
2395
+ Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (1.8ms)
2396
+ Completed 200 OK in 11ms (Views: 10.7ms | ActiveRecord: 0.0ms)
2397
+  (0.1ms) rollback transaction
2398
+  (0.1ms) begin transaction
2399
+ ----------------------------------------------------------------------------------
2400
+ ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
2401
+ ----------------------------------------------------------------------------------
2402
+ Processing by ShopifyApp::SessionsController#create as HTML
2403
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2404
+ Redirected to http://test.host/404.html
2405
+ Filter chain halted as :whitelist_check rendered or redirected
2406
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2407
+ Processing by ShopifyApp::SessionsController#new as HTML
2408
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2409
+ Redirected to http://test.host/404.html
2410
+ Filter chain halted as :whitelist_check rendered or redirected
2411
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2412
+ Processing by ShopifyApp::SessionsController#callback as HTML
2413
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2414
+ Redirected to http://test.host/404.html
2415
+ Filter chain halted as :whitelist_check rendered or redirected
2416
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2417
+  (0.1ms) rollback transaction
2418
+  (0.1ms) begin transaction
2419
+ ---------------------------------------------------------------------------------------------------------
2420
+ ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
2421
+ ---------------------------------------------------------------------------------------------------------
2422
+ Processing by ShopifyApp::SessionsController#create as HTML
2423
+ Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}}
2424
+ Rendered inline template (0.3ms)
2425
+ Completed 302 Found in 3ms (Views: 0.8ms | ActiveRecord: 0.0ms)
2426
+  (0.1ms) rollback transaction
2427
+  (0.1ms) begin transaction
2428
+ ----------------------------------------
2429
+ ShopifyAppWhitelistTest: test_is_working
2430
+ ----------------------------------------
2431
+  (0.1ms) rollback transaction
2432
+  (0.1ms) begin transaction
2433
+ --------------------------------------------------------------------
2434
+ ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
2435
+ --------------------------------------------------------------------
2436
+  (0.0ms) rollback transaction
2437
+  (0.1ms) begin transaction
2438
+ -----------------------------------------------------------------------
2439
+ ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
2440
+ -----------------------------------------------------------------------
2441
+  (0.0ms) rollback transaction
2442
+  (0.0ms) begin transaction
2443
+ ---------------------------------------------------------------------------------------
2444
+ ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
2445
+ ---------------------------------------------------------------------------------------
2446
+  (0.1ms) rollback transaction
2447
+  (0.1ms) begin transaction
2448
+ ---------------------------------------------------------------------------------------
2449
+ ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
2450
+ ---------------------------------------------------------------------------------------
2451
+ Processing by ShopifyApp::SessionsController#new as HTML
2452
+ Parameters: {"params"=>{"shop"=>nil}}
2453
+ Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (2.2ms)
2454
+ Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 0.0ms)
2455
+  (0.1ms) rollback transaction
2456
+  (0.1ms) begin transaction
2457
+ ---------------------------------------------------------------------------------------------------------
2458
+ ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
2459
+ ---------------------------------------------------------------------------------------------------------
2460
+ Processing by ShopifyApp::SessionsController#create as HTML
2461
+ Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}}
2462
+ Rendered inline template (0.5ms)
2463
+ Completed 302 Found in 4ms (Views: 1.6ms | ActiveRecord: 0.0ms)
2464
+  (0.1ms) rollback transaction
2465
+  (0.0ms) begin transaction
2466
+ ----------------------------------------------------------------------------------
2467
+ ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
2468
+ ----------------------------------------------------------------------------------
2469
+ Processing by ShopifyApp::SessionsController#create as HTML
2470
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2471
+ Redirected to http://test.host/404.html
2472
+ Filter chain halted as :whitelist_check rendered or redirected
2473
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2474
+ Processing by ShopifyApp::SessionsController#new as HTML
2475
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2476
+ Redirected to http://test.host/404.html
2477
+ Filter chain halted as :whitelist_check rendered or redirected
2478
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2479
+ Processing by ShopifyApp::SessionsController#callback as HTML
2480
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2481
+ Redirected to http://test.host/404.html
2482
+ Filter chain halted as :whitelist_check rendered or redirected
2483
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2484
+  (0.1ms) rollback transaction
2485
+  (0.1ms) begin transaction
2486
+ --------------------------------------------------------------------
2487
+ ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
2488
+ --------------------------------------------------------------------
2489
+  (0.1ms) rollback transaction
2490
+  (0.1ms) begin transaction
2491
+ -----------------------------------------------------------------------
2492
+ ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
2493
+ -----------------------------------------------------------------------
2494
+  (0.0ms) rollback transaction
2495
+  (0.1ms) begin transaction
2496
+ ----------------------------------------
2497
+ ShopifyAppWhitelistTest: test_is_working
2498
+ ----------------------------------------
2499
+  (0.2ms) rollback transaction
2500
+  (0.1ms) begin transaction
2501
+ ---------------------------------------------------------------------------------------
2502
+ ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
2503
+ ---------------------------------------------------------------------------------------
2504
+  (0.1ms) rollback transaction
2505
+  (0.1ms) begin transaction
2506
+ ----------------------------------------------------------------------------------
2507
+ ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
2508
+ ----------------------------------------------------------------------------------
2509
+ Processing by ShopifyApp::SessionsController#create as HTML
2510
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2511
+ Redirected to http://test.host/404.html
2512
+ Filter chain halted as :whitelist_check rendered or redirected
2513
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2514
+ Processing by ShopifyApp::SessionsController#new as HTML
2515
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2516
+ Redirected to http://test.host/404.html
2517
+ Filter chain halted as :whitelist_check rendered or redirected
2518
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2519
+ Processing by ShopifyApp::SessionsController#callback as HTML
2520
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2521
+ Redirected to http://test.host/404.html
2522
+ Filter chain halted as :whitelist_check rendered or redirected
2523
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2524
+  (0.1ms) rollback transaction
2525
+  (0.1ms) begin transaction
2526
+ ---------------------------------------------------------------------------------------
2527
+ ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
2528
+ ---------------------------------------------------------------------------------------
2529
+ Processing by ShopifyApp::SessionsController#new as HTML
2530
+ Parameters: {"params"=>{"shop"=>nil}}
2531
+ Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (2.3ms)
2532
+ Completed 200 OK in 13ms (Views: 12.7ms | ActiveRecord: 0.0ms)
2533
+  (0.1ms) rollback transaction
2534
+  (0.0ms) begin transaction
2535
+ ---------------------------------------------------------------------------------------------------------
2536
+ ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
2537
+ ---------------------------------------------------------------------------------------------------------
2538
+ Processing by ShopifyApp::SessionsController#create as HTML
2539
+ Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}}
2540
+ Rendered inline template (0.4ms)
2541
+ Completed 302 Found in 3ms (Views: 0.8ms | ActiveRecord: 0.0ms)
2542
+  (0.1ms) rollback transaction
2543
+  (0.1ms) begin transaction
2544
+ ---------------------------------------------------------------------------------------
2545
+ ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
2546
+ ---------------------------------------------------------------------------------------
2547
+  (0.1ms) rollback transaction
2548
+  (0.1ms) begin transaction
2549
+ ---------------------------------------------------------------------------------------
2550
+ ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
2551
+ ---------------------------------------------------------------------------------------
2552
+ Processing by ShopifyApp::SessionsController#new as HTML
2553
+ Parameters: {"params"=>{"shop"=>nil}}
2554
+ Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (1.7ms)
2555
+ Completed 200 OK in 12ms (Views: 11.4ms | ActiveRecord: 0.0ms)
2556
+  (0.1ms) rollback transaction
2557
+  (0.1ms) begin transaction
2558
+ ---------------------------------------------------------------------------------------------------------
2559
+ ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
2560
+ ---------------------------------------------------------------------------------------------------------
2561
+ Processing by ShopifyApp::SessionsController#create as HTML
2562
+ Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}}
2563
+ Rendered inline template (0.7ms)
2564
+ Completed 302 Found in 4ms (Views: 1.4ms | ActiveRecord: 0.0ms)
2565
+  (0.1ms) rollback transaction
2566
+  (0.1ms) begin transaction
2567
+ ----------------------------------------------------------------------------------
2568
+ ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
2569
+ ----------------------------------------------------------------------------------
2570
+ Processing by ShopifyApp::SessionsController#create as HTML
2571
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2572
+ Redirected to http://test.host/404.html
2573
+ Filter chain halted as :whitelist_check rendered or redirected
2574
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2575
+ Processing by ShopifyApp::SessionsController#new as HTML
2576
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2577
+ Redirected to http://test.host/404.html
2578
+ Filter chain halted as :whitelist_check rendered or redirected
2579
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2580
+ Processing by ShopifyApp::SessionsController#callback as HTML
2581
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2582
+ Redirected to http://test.host/404.html
2583
+ Filter chain halted as :whitelist_check rendered or redirected
2584
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2585
+  (0.1ms) rollback transaction
2586
+  (0.1ms) begin transaction
2587
+ -----------------------------------------------------------------------
2588
+ ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
2589
+ -----------------------------------------------------------------------
2590
+  (0.1ms) rollback transaction
2591
+  (0.1ms) begin transaction
2592
+ ----------------------------------------
2593
+ ShopifyAppWhitelistTest: test_is_working
2594
+ ----------------------------------------
2595
+  (0.0ms) rollback transaction
2596
+  (0.0ms) begin transaction
2597
+ --------------------------------------------------------------------
2598
+ ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
2599
+ --------------------------------------------------------------------
2600
+  (0.0ms) rollback transaction
2601
+  (0.1ms) begin transaction
2602
+ -----------------------------------------------------------------------
2603
+ ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
2604
+ -----------------------------------------------------------------------
2605
+  (0.1ms) rollback transaction
2606
+  (0.2ms) begin transaction
2607
+ ----------------------------------------
2608
+ ShopifyAppWhitelistTest: test_is_working
2609
+ ----------------------------------------
2610
+  (0.0ms) rollback transaction
2611
+  (0.1ms) begin transaction
2612
+ --------------------------------------------------------------------
2613
+ ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
2614
+ --------------------------------------------------------------------
2615
+  (0.1ms) rollback transaction
2616
+  (0.0ms) begin transaction
2617
+ ---------------------------------------------------------------------------------------
2618
+ ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
2619
+ ---------------------------------------------------------------------------------------
2620
+ Processing by ShopifyApp::SessionsController#new as HTML
2621
+ Parameters: {"params"=>{"shop"=>nil}}
2622
+ Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (2.2ms)
2623
+ Completed 200 OK in 10ms (Views: 10.0ms | ActiveRecord: 0.0ms)
2624
+  (0.1ms) rollback transaction
2625
+  (0.1ms) begin transaction
2626
+ ----------------------------------------------------------------------------------
2627
+ ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
2628
+ ----------------------------------------------------------------------------------
2629
+ Processing by ShopifyApp::SessionsController#create as HTML
2630
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2631
+ Redirected to http://test.host/404.html
2632
+ Filter chain halted as :whitelist_check rendered or redirected
2633
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2634
+ Processing by ShopifyApp::SessionsController#new as HTML
2635
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2636
+ Redirected to http://test.host/404.html
2637
+ Filter chain halted as :whitelist_check rendered or redirected
2638
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2639
+ Processing by ShopifyApp::SessionsController#callback as HTML
2640
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2641
+ Redirected to http://test.host/404.html
2642
+ Filter chain halted as :whitelist_check rendered or redirected
2643
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2644
+  (0.2ms) rollback transaction
2645
+  (0.1ms) begin transaction
2646
+ ---------------------------------------------------------------------------------------
2647
+ ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
2648
+ ---------------------------------------------------------------------------------------
2649
+ Processing by ShopifyApp::SessionsController#create as HTML
2650
+ Parameters: {"shop"=>"allowed.myshopify.com"}
2651
+ Rendered inline template (0.3ms)
2652
+ Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.0ms)
2653
+  (0.1ms) rollback transaction
2654
+  (0.1ms) begin transaction
2655
+ ---------------------------------------------------------------------------------------------------------
2656
+ ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
2657
+ ---------------------------------------------------------------------------------------------------------
2658
+ Processing by ShopifyApp::SessionsController#create as HTML
2659
+ Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}}
2660
+ Rendered inline template (0.3ms)
2661
+ Completed 302 Found in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
2662
+  (0.1ms) rollback transaction
2663
+  (0.1ms) begin transaction
2664
+ ---------------------------------------------------------------------------------------
2665
+ ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
2666
+ ---------------------------------------------------------------------------------------
2667
+ Processing by ShopifyApp::SessionsController#new as HTML
2668
+ Parameters: {"shop"=>nil}
2669
+ Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (3.0ms)
2670
+ Completed 200 OK in 14ms (Views: 13.8ms | ActiveRecord: 0.0ms)
2671
+  (0.1ms) rollback transaction
2672
+  (0.1ms) begin transaction
2673
+ ---------------------------------------------------------------------------------------
2674
+ ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
2675
+ ---------------------------------------------------------------------------------------
2676
+ Processing by ShopifyApp::SessionsController#create as HTML
2677
+ Parameters: {"shop"=>"allowed.myshopify.com"}
2678
+ Rendered inline template (0.4ms)
2679
+ Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.0ms)
2680
+  (0.1ms) rollback transaction
2681
+  (0.1ms) begin transaction
2682
+ ----------------------------------------------------------------------------------
2683
+ ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
2684
+ ----------------------------------------------------------------------------------
2685
+ Processing by ShopifyApp::SessionsController#create as HTML
2686
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2687
+ Redirected to http://test.host/404.html
2688
+ Filter chain halted as :whitelist_check rendered or redirected
2689
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2690
+ Processing by ShopifyApp::SessionsController#new as HTML
2691
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2692
+ Redirected to http://test.host/404.html
2693
+ Filter chain halted as :whitelist_check rendered or redirected
2694
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2695
+ Processing by ShopifyApp::SessionsController#callback as HTML
2696
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2697
+ Redirected to http://test.host/404.html
2698
+ Filter chain halted as :whitelist_check rendered or redirected
2699
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2700
+  (0.1ms) rollback transaction
2701
+  (0.1ms) begin transaction
2702
+ ---------------------------------------------------------------------------------------------------------
2703
+ ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
2704
+ ---------------------------------------------------------------------------------------------------------
2705
+ Processing by ShopifyApp::SessionsController#create as HTML
2706
+ Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}}
2707
+ Rendered inline template (0.3ms)
2708
+ Completed 302 Found in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
2709
+  (0.1ms) rollback transaction
2710
+  (0.0ms) begin transaction
2711
+ --------------------------------------------------------------------
2712
+ ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
2713
+ --------------------------------------------------------------------
2714
+  (0.0ms) rollback transaction
2715
+  (0.1ms) begin transaction
2716
+ -----------------------------------------------------------------------
2717
+ ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
2718
+ -----------------------------------------------------------------------
2719
+  (0.1ms) rollback transaction
2720
+  (0.0ms) begin transaction
2721
+ ----------------------------------------
2722
+ ShopifyAppWhitelistTest: test_is_working
2723
+ ----------------------------------------
2724
+  (0.1ms) rollback transaction
2725
+  (0.1ms) begin transaction
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
+  (0.1ms) rollback transaction
2734
+  (0.1ms) begin transaction
2735
+ ----------------------------------------------------------------------------------
2736
+ ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
2737
+ ----------------------------------------------------------------------------------
2738
+ Processing by ShopifyApp::SessionsController#create as HTML
2739
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2740
+ Redirected to http://test.host/404.html
2741
+ Filter chain halted as :whitelist_check rendered or redirected
2742
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2743
+ Processing by ShopifyApp::SessionsController#new as HTML
2744
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2745
+ Redirected to http://test.host/404.html
2746
+ Filter chain halted as :whitelist_check rendered or redirected
2747
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2748
+ Processing by ShopifyApp::SessionsController#callback as HTML
2749
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2750
+ Redirected to http://test.host/404.html
2751
+ Filter chain halted as :whitelist_check rendered or redirected
2752
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2753
+  (0.1ms) rollback transaction
2754
+  (0.1ms) begin transaction
2755
+ ---------------------------------------------------------------------------------------
2756
+ ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
2757
+ ---------------------------------------------------------------------------------------
2758
+ Processing by ShopifyApp::SessionsController#new as HTML
2759
+ Parameters: {"shop"=>nil}
2760
+ Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (0.8ms)
2761
+ Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)
2762
+  (0.1ms) rollback transaction
2763
+  (0.1ms) begin transaction
2764
+ ---------------------------------------------------------------------------------------------------------
2765
+ ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
2766
+ ---------------------------------------------------------------------------------------------------------
2767
+ Processing by ShopifyApp::SessionsController#create as HTML
2768
+ Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}}
2769
+ Rendered inline template (0.3ms)
2770
+ Completed 302 Found in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
2771
+  (0.1ms) rollback transaction
2772
+  (0.1ms) begin transaction
2773
+ --------------------------------------------------------------------
2774
+ ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
2775
+ --------------------------------------------------------------------
2776
+  (0.1ms) rollback transaction
2777
+  (0.3ms) begin transaction
2778
+ -----------------------------------------------------------------------
2779
+ ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
2780
+ -----------------------------------------------------------------------
2781
+  (0.1ms) rollback transaction
2782
+  (0.1ms) begin transaction
2783
+ ----------------------------------------
2784
+ ShopifyAppWhitelistTest: test_is_working
2785
+ ----------------------------------------
2786
+  (0.1ms) rollback transaction
2787
+  (0.1ms) begin transaction
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
+  (0.1ms) rollback transaction
2796
+  (0.1ms) begin transaction
2797
+ ---------------------------------------------------------------------------------------------------------
2798
+ ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
2799
+ ---------------------------------------------------------------------------------------------------------
2800
+ Processing by ShopifyApp::SessionsController#create as HTML
2801
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2802
+ Redirected to http://test.host/404.html
2803
+ Filter chain halted as :whitelist_check rendered or redirected
2804
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2805
+  (0.1ms) rollback transaction
2806
+  (0.1ms) begin transaction
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
+  (0.1ms) rollback transaction
2826
+  (0.1ms) begin transaction
2827
+ ---------------------------------------------------------------------------------------
2828
+ ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
2829
+ ---------------------------------------------------------------------------------------
2830
+ Processing by ShopifyApp::SessionsController#create as HTML
2831
+ Parameters: {"shop"=>"allowed.myshopify.com"}
2832
+ Rendered inline template (0.5ms)
2833
+ Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.0ms)
2834
+  (0.1ms) rollback transaction
2835
+  (0.0ms) begin transaction
2836
+ --------------------------------------------------------------------
2837
+ ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
2838
+ --------------------------------------------------------------------
2839
+  (0.0ms) rollback transaction
2840
+  (0.1ms) begin transaction
2841
+ -----------------------------------------------------------------------
2842
+ ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
2843
+ -----------------------------------------------------------------------
2844
+  (0.0ms) rollback transaction
2845
+  (0.0ms) begin transaction
2846
+ ----------------------------------------
2847
+ ShopifyAppWhitelistTest: test_is_working
2848
+ ----------------------------------------
2849
+  (0.0ms) rollback transaction
2850
+  (0.1ms) begin transaction
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
+  (0.1ms) rollback transaction
2859
+  (0.1ms) begin transaction
2860
+ ----------------------------------------------------------------------------------
2861
+ ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
2862
+ ----------------------------------------------------------------------------------
2863
+ Processing by ShopifyApp::SessionsController#create as HTML
2864
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2865
+ Redirected to http://test.host/404.html
2866
+ Filter chain halted as :whitelist_check rendered or redirected
2867
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2868
+ Processing by ShopifyApp::SessionsController#new as HTML
2869
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2870
+ Redirected to http://test.host/404.html
2871
+ Filter chain halted as :whitelist_check rendered or redirected
2872
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2873
+ Processing by ShopifyApp::SessionsController#callback as HTML
2874
+ 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
+  (0.1ms) rollback transaction
2879
+  (0.1ms) begin transaction
2880
+ ---------------------------------------------------------------------------------------
2881
+ ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
2882
+ ---------------------------------------------------------------------------------------
2883
+ Processing by ShopifyApp::SessionsController#create as HTML
2884
+ Parameters: {"shop"=>"allowed.myshopify.com"}
2885
+ Rendered inline template (0.6ms)
2886
+ Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)
2887
+  (0.1ms) rollback transaction
2888
+  (0.1ms) begin transaction
2889
+ ---------------------------------------------------------------------------------------
2890
+ ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
2891
+ ---------------------------------------------------------------------------------------
2892
+ Processing by ShopifyApp::SessionsController#new as HTML
2893
+ Parameters: {"shop"=>nil}
2894
+ Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (1.2ms)
2895
+ Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)
2896
+  (0.1ms) rollback transaction
2897
+  (0.1ms) begin transaction
2898
+ --------------------------------------------------------------------
2899
+ ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
2900
+ --------------------------------------------------------------------
2901
+  (0.1ms) rollback transaction
2902
+  (0.1ms) begin transaction
2903
+ ----------------------------------------
2904
+ ShopifyAppWhitelistTest: test_is_working
2905
+ ----------------------------------------
2906
+  (0.1ms) rollback transaction
2907
+  (0.0ms) begin transaction
2908
+ -----------------------------------------------------------------------
2909
+ ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
2910
+ -----------------------------------------------------------------------
2911
+  (0.0ms) rollback transaction
2912
+  (0.1ms) begin transaction
2913
+ ---------------------------------------------------------------------------------------------------------
2914
+ ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
2915
+ ---------------------------------------------------------------------------------------------------------
2916
+ Processing by ShopifyApp::SessionsController#create as HTML
2917
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2918
+ Redirected to http://test.host/404.html
2919
+ Filter chain halted as :whitelist_check rendered or redirected
2920
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2921
+  (0.1ms) rollback transaction
2922
+  (0.1ms) begin transaction
2923
+ ---------------------------------------------------------------------------------------
2924
+ ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
2925
+ ---------------------------------------------------------------------------------------
2926
+  (0.0ms) rollback transaction
2927
+  (0.1ms) begin transaction
2928
+ ---------------------------------------------------------------------------------------
2929
+ ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
2930
+ ---------------------------------------------------------------------------------------
2931
+ Processing by ShopifyApp::SessionsController#new as HTML
2932
+ Parameters: {"shop"=>nil}
2933
+ Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (2.5ms)
2934
+ Completed 200 OK in 16ms (Views: 16.0ms | ActiveRecord: 0.0ms)
2935
+  (0.1ms) rollback transaction
2936
+  (0.0ms) begin transaction
2937
+ ----------------------------------------------------------------------------------
2938
+ ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
2939
+ ----------------------------------------------------------------------------------
2940
+ Processing by ShopifyApp::SessionsController#create as HTML
2941
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2942
+ Redirected to http://test.host/404.html
2943
+ Filter chain halted as :whitelist_check rendered or redirected
2944
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2945
+ Processing by ShopifyApp::SessionsController#new as HTML
2946
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2947
+ Redirected to http://test.host/404.html
2948
+ Filter chain halted as :whitelist_check rendered or redirected
2949
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2950
+ Processing by ShopifyApp::SessionsController#callback as HTML
2951
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
2952
+ Redirected to http://test.host/404.html
2953
+ Filter chain halted as :whitelist_check rendered or redirected
2954
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2955
+  (0.2ms) rollback transaction
2956
+  (0.1ms) begin transaction
2957
+ --------------------------------------------------------------------
2958
+ ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
2959
+ --------------------------------------------------------------------
2960
+  (0.1ms) rollback transaction
2961
+  (0.1ms) begin transaction
2962
+ -----------------------------------------------------------------------
2963
+ ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
2964
+ -----------------------------------------------------------------------
2965
+  (0.0ms) rollback transaction
2966
+  (0.1ms) begin transaction
2967
+ ----------------------------------------
2968
+ ShopifyAppWhitelistTest: test_is_working
2969
+ ----------------------------------------
2970
+  (0.0ms) rollback transaction
2971
+  (0.1ms) begin transaction
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
+  (0.1ms) rollback transaction
2980
+  (0.1ms) begin transaction
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
+  (0.1ms) rollback transaction
2990
+  (0.1ms) begin transaction
2991
+ ---------------------------------------------------------------------------------------
2992
+ ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
2993
+ ---------------------------------------------------------------------------------------
2994
+ Processing by ShopifyApp::SessionsController#new as HTML
2995
+ Parameters: {"shop"=>nil}
2996
+ Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (1.7ms)
2997
+ Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)
2998
+  (0.1ms) rollback transaction
2999
+  (0.2ms) begin transaction
3000
+ ----------------------------------------------------------------------------------
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
+  (0.1ms) rollback transaction
3019
+  (0.1ms) begin transaction
3020
+ ----------------------------------------
3021
+ ShopifyAppWhitelistTest: test_is_working
3022
+ ----------------------------------------
3023
+  (0.1ms) rollback transaction
3024
+  (0.1ms) begin transaction
3025
+ --------------------------------------------------------------------
3026
+ ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
3027
+ --------------------------------------------------------------------
3028
+  (0.1ms) rollback transaction
3029
+  (0.1ms) begin transaction
3030
+ -----------------------------------------------------------------------
3031
+ ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
3032
+ -----------------------------------------------------------------------
3033
+  (0.1ms) rollback transaction
3034
+  (0.1ms) begin transaction
3035
+ ---------------------------------------------------------------------------------------------------------
3036
+ ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
3037
+ ---------------------------------------------------------------------------------------------------------
3038
+ Processing by ShopifyApp::SessionsController#create as HTML
3039
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
3040
+ Redirected to http://test.host/404.html
3041
+ Filter chain halted as :whitelist_check rendered or redirected
3042
+ Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
3043
+  (0.1ms) rollback transaction
3044
+  (0.1ms) begin transaction
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
+  (0.2ms) rollback transaction
3054
+  (0.2ms) begin transaction
3055
+ ---------------------------------------------------------------------------------------
3056
+ ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
3057
+ ---------------------------------------------------------------------------------------
3058
+ Processing by ShopifyApp::SessionsController#new as HTML
3059
+ Parameters: {"parmas"=>{"shop"=>""}}
3060
+ Rendering /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb
3061
+ Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (1.0ms)
3062
+ Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 0.0ms)
3063
+  (0.1ms) rollback transaction
3064
+  (0.1ms) begin transaction
3065
+ ----------------------------------------------------------------------------------
3066
+ ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
3067
+ ----------------------------------------------------------------------------------
3068
+ Processing by ShopifyApp::SessionsController#create as HTML
3069
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
3070
+ Redirected to http://test.host/404.html
3071
+ Filter chain halted as :whitelist_check rendered or redirected
3072
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
3073
+ Processing by ShopifyApp::SessionsController#new as HTML
3074
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
3075
+ Redirected to http://test.host/404.html
3076
+ Filter chain halted as :whitelist_check rendered or redirected
3077
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
3078
+ Processing by ShopifyApp::SessionsController#callback as HTML
3079
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
3080
+ Redirected to http://test.host/404.html
3081
+ Filter chain halted as :whitelist_check rendered or redirected
3082
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
3083
+  (0.1ms) rollback transaction
3084
+  (0.1ms) begin transaction
3085
+ --------------------------------------------------------------------
3086
+ ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
3087
+ --------------------------------------------------------------------
3088
+  (0.0ms) rollback transaction
3089
+  (0.1ms) begin transaction
3090
+ -----------------------------------------------------------------------
3091
+ ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
3092
+ -----------------------------------------------------------------------
3093
+  (0.0ms) rollback transaction
3094
+  (0.1ms) begin transaction
3095
+ ----------------------------------------
3096
+ ShopifyAppWhitelistTest: test_is_working
3097
+ ----------------------------------------
3098
+  (0.0ms) rollback transaction
3099
+  (0.1ms) begin transaction
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
+  (0.1ms) rollback transaction
3109
+  (0.1ms) begin transaction
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
+  (0.1ms) rollback transaction
3119
+  (0.1ms) begin transaction
3120
+ ---------------------------------------------------------------------------------------------------------
3121
+ ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
3122
+ ---------------------------------------------------------------------------------------------------------
3123
+ Processing by ShopifyApp::SessionsController#create as HTML
3124
+ Parameters: {"shop"=>"not-allowed.myshopify.com"}
3125
+ Redirected to http://test.host/404.html
3126
+ Filter chain halted as :whitelist_check rendered or redirected
3127
+ Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
3128
+  (0.1ms) rollback transaction
3129
+  (0.1ms) begin transaction
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
+  (0.1ms) rollback transaction
3149
+  (0.1ms) begin transaction
3150
+ --------------------------------------------------------------------
3151
+ ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
3152
+ --------------------------------------------------------------------
3153
+  (0.1ms) rollback transaction
3154
+  (0.1ms) begin transaction
3155
+ -----------------------------------------------------------------------
3156
+ ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
3157
+ -----------------------------------------------------------------------
3158
+  (0.1ms) rollback transaction
3159
+  (0.1ms) begin transaction
3160
+ ----------------------------------------
3161
+ ShopifyAppWhitelistTest: test_is_working
3162
+ ----------------------------------------
3163
+  (0.1ms) rollback transaction
3164
+  (0.2ms) begin transaction
3165
+ --------------------------------------------------------------------
3166
+ ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
3167
+ --------------------------------------------------------------------
3168
+  (0.1ms) rollback transaction
3169
+  (0.1ms) begin transaction
3170
+ ----------------------------------------
3171
+ ShopifyAppWhitelistTest: test_is_working
3172
+ ----------------------------------------
3173
+  (0.1ms) rollback transaction
3174
+  (0.1ms) begin transaction
3175
+ -----------------------------------------------------------------------
3176
+ ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
3177
+ -----------------------------------------------------------------------
3178
+  (0.1ms) rollback transaction
3179
+  (0.1ms) begin transaction
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
+  (0.1ms) rollback transaction
3189
+  (0.1ms) begin transaction
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
+  (0.3ms) rollback transaction
3199
+  (0.1ms) begin transaction
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
+  (0.1ms) rollback transaction
3219
+  (0.2ms) begin transaction
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
+  (0.1ms) rollback transaction
3229
+  (0.1ms) begin transaction
3230
+ --------------------------------------------------------------------
3231
+ ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
3232
+ --------------------------------------------------------------------
3233
+  (0.1ms) rollback transaction
3234
+  (0.1ms) begin transaction
3235
+ -----------------------------------------------------------------------
3236
+ ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
3237
+ -----------------------------------------------------------------------
3238
+  (0.3ms) rollback transaction
3239
+  (0.1ms) begin transaction
3240
+ ----------------------------------------
3241
+ ShopifyAppWhitelistTest: test_is_working
3242
+ ----------------------------------------
3243
+  (0.0ms) rollback transaction
3244
+  (0.1ms) begin transaction
3245
+ ---------------------------------------------------------------------------------------
3246
+ ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
3247
+ ---------------------------------------------------------------------------------------
3248
+ Processing by ShopifyApp::SessionsController#create as HTML
3249
+ Parameters: {"shop"=>"allowed.myshopify.com"}
3250
+ Rendered inline template (1.8ms)
3251
+ Completed 200 OK in 12ms (Views: 9.8ms | ActiveRecord: 0.0ms)
3252
+  (0.1ms) rollback transaction
3253
+  (0.1ms) begin transaction
3254
+ ---------------------------------------------------------------------------------------
3255
+ ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
3256
+ ---------------------------------------------------------------------------------------
3257
+ Processing by ShopifyApp::SessionsController#new as HTML
3258
+ Parameters: {"shop"=>nil}
3259
+ Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (1.4ms)
3260
+ Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)
3261
+  (0.1ms) rollback transaction
3262
+  (0.1ms) begin transaction
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
+  (0.1ms) rollback transaction
3272
+  (0.1ms) begin transaction
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
+  (0.1ms) rollback transaction
3292
+  (0.1ms) begin transaction
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
+  (0.1ms) rollback transaction
3301
+  (0.2ms) begin transaction
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
+  (0.1ms) rollback transaction
3311
+  (0.1ms) begin transaction
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
+  (0.1ms) rollback transaction
3320
+  (0.1ms) begin transaction
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
+  (0.1ms) rollback transaction
3340
+  (0.1ms) begin transaction
3341
+ -----------------------------------------------------------------------
3342
+ ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
3343
+ -----------------------------------------------------------------------
3344
+  (0.1ms) rollback transaction
3345
+  (0.2ms) begin transaction
3346
+ --------------------------------------------------------------------
3347
+ ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
3348
+ --------------------------------------------------------------------
3349
+  (0.3ms) rollback transaction
3350
+  (0.4ms) begin transaction
3351
+ ----------------------------------------
3352
+ ShopifyAppWhitelistTest: test_is_working
3353
+ ----------------------------------------
3354
+  (0.2ms) rollback transaction
3355
+  (0.2ms) begin transaction
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
+  (0.1ms) rollback transaction
3364
+  (0.1ms) begin transaction
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
+  (0.1ms) rollback transaction
3384
+  (0.3ms) begin transaction
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
+  (0.1ms) rollback transaction
3393
+  (0.1ms) begin transaction
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
+  (0.1ms) rollback transaction
3403
+  (0.0ms) begin transaction
3404
+ --------------------------------------------------------------------
3405
+ ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
3406
+ --------------------------------------------------------------------
3407
+  (0.0ms) rollback transaction
3408
+  (0.0ms) begin transaction
3409
+ ----------------------------------------
3410
+ ShopifyAppWhitelistTest: test_is_working
3411
+ ----------------------------------------
3412
+  (0.0ms) rollback transaction
3413
+  (0.1ms) begin transaction
3414
+ -----------------------------------------------------------------------
3415
+ ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
3416
+ -----------------------------------------------------------------------
3417
+  (0.0ms) rollback transaction
3418
+  (0.1ms) begin transaction
3419
+ --------------------------------------------------------------------
3420
+ ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
3421
+ --------------------------------------------------------------------
3422
+  (0.1ms) rollback transaction
3423
+  (0.1ms) begin transaction
3424
+ ----------------------------------------
3425
+ ShopifyAppWhitelistTest: test_is_working
3426
+ ----------------------------------------
3427
+  (0.0ms) rollback transaction
3428
+  (0.1ms) begin transaction
3429
+ -----------------------------------------------------------------------
3430
+ ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
3431
+ -----------------------------------------------------------------------
3432
+  (0.1ms) rollback transaction
3433
+  (0.0ms) begin transaction
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
+  (0.1ms) rollback transaction
3453
+  (0.1ms) begin transaction
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
+  (0.1ms) rollback transaction
3463
+  (0.0ms) begin transaction
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
+  (0.1ms) rollback transaction
3473
+  (0.1ms) begin transaction
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
+  (0.1ms) rollback transaction