(0.1ms) begin transaction ----------------------------------- ShopifyAppWhitelistTest: test_truth -----------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not-allowed_shop_should_redirect_to_configured_location ---------------------------------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_methods --------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_redirect_to_login ---------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_redirect_to_login ---------------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not-allowed_shop_should_redirect_to_configured_location ---------------------------------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_methods --------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_methods --------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_methods -------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_methods -------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_methods -------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_methods -------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_methods -------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_methods -------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_methods -------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_methods -------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_methods -------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_methods -------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (1.9ms) Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (1.2ms) Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (1.5ms) Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (1.1ms) Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (1.2ms) Completed 200 OK in 11ms (Views: 8.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (1.2ms) Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ----------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (1.2ms) Completed 200 OK in 10ms (Views: 8.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (1.1ms) Completed 200 OK in 9ms (Views: 7.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ----------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (1.1ms) Completed 200 OK in 9ms (Views: 7.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (1.5ms) Completed 200 OK in 11ms (Views: 8.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (1.5ms) Completed 200 OK in 11ms (Views: 9.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (1.4ms) Completed 200 OK in 11ms (Views: 8.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>nil} 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) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (1.2ms) Completed 200 OK in 10ms (Views: 8.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>nil} 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) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>nil} Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (1.6ms) Completed 200 OK in 12ms (Views: 11.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (0.5ms) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (1.3ms) Completed 200 OK in 10ms (Views: 8.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>nil} 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) Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>nil} Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (1.6ms) Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (0.3ms) Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>nil} Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (1.6ms) Completed 200 OK in 11ms (Views: 10.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (0.3ms) Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>nil} 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) Completed 200 OK in 15ms (Views: 14.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (0.3ms) Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>nil} 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) Completed 200 OK in 11ms (Views: 10.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (0.3ms) Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (1.1ms) Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>nil} 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) Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (2.6ms) Completed 200 OK in 11ms (Views: 9.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>nil} Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (1.5ms) Completed 200 OK in 9ms (Views: 8.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller --------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.1ms) rollback transaction  (0.7ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.6ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>nil} 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) Completed 200 OK in 22ms (Views: 20.8ms | ActiveRecord: 0.0ms)  (0.5ms) rollback transaction  (0.3ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (0.8ms) Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.2ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (1.1ms) Completed 200 OK in 9ms (Views: 7.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>nil} 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) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller --------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller --------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (1.3ms) Completed 200 OK in 11ms (Views: 9.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>nil} 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) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller --------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (1.9ms) Completed 200 OK in 15ms (Views: 12.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>nil} 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) Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (1.0ms) Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>nil} 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) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller --------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller --------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (1.3ms) Completed 200 OK in 9ms (Views: 7.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>nil} 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) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller --------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (1.2ms) Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>nil} 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) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (2.0ms) Completed 200 OK in 14ms (Views: 11.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>nil} Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (1.1ms) Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller --------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (1.5ms) Completed 200 OK in 11ms (Views: 9.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>nil} 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) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller --------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>nil} Rendered /Users/tyler/Development/GitHub/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.0/app/views/shopify_app/sessions/new.html.erb (2.1ms) Completed 200 OK in 13ms (Views: 12.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (0.6ms) Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller --------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller --------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (1.6ms) Completed 200 OK in 12ms (Views: 9.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>nil} 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) Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller --------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>nil} 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) Completed 200 OK in 16ms (Views: 15.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (0.3ms) Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (2.3ms) Completed 200 OK in 11ms (Views: 9.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>nil} 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) Completed 200 OK in 3ms (Views: 3.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.1ms) rollback transaction  (0.2ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller --------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.0ms) rollback transaction  (0.2ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>nil} 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) Completed 200 OK in 15ms (Views: 14.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (0.4ms) Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller --------------------------------------------------------------------  (0.1ms) rollback transaction  (0.4ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller --------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>""} 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 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) Completed 200 OK in 19ms (Views: 16.0ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.2ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendering inline template Rendered inline template (0.3ms) Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller --------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (1.1ms) Completed 200 OK in 10ms (Views: 7.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>nil} 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) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>""} 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 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) Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendering inline template Rendered inline template (0.4ms) Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 8ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller --------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendering inline template Rendered inline template (1.2ms) Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.2ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>""} 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 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) Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller --------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.1ms) rollback transaction  (0.2ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}} Rendered inline template (3.0ms) Completed 302 Found in 22ms (Views: 19.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"params"=>{"shop"=>"allowed.myshopify.com"}} Rendered inline template (0.6ms) Completed 302 Found in 3ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}} Rendered inline template (0.3ms) Completed 302 Found in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"params"=>{"shop"=>nil}} 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) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller --------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"params"=>{"shop"=>"allowed.myshopify.com"}} Rendered inline template (1.2ms) Completed 302 Found in 9ms (Views: 7.6ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}} Rendered inline template (0.3ms) Completed 302 Found in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"params"=>{"shop"=>nil}} 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) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller --------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}} Rendered inline template (1.2ms) Completed 302 Found in 10ms (Views: 8.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"params"=>{"shop"=>nil}} 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) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (0.3ms) Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller --------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller --------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access ---------------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"params"=>{"shop"=>nil}} 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) Completed 200 OK in 11ms (Views: 10.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}} Rendered inline template (0.3ms) Completed 302 Found in 3ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller --------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access ---------------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"params"=>{"shop"=>nil}} 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) Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}} Rendered inline template (0.5ms) Completed 302 Found in 4ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller --------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access ---------------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"params"=>{"shop"=>nil}} 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) Completed 200 OK in 13ms (Views: 12.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}} Rendered inline template (0.4ms) Completed 302 Found in 3ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access ---------------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"params"=>{"shop"=>nil}} 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) Completed 200 OK in 12ms (Views: 11.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}} Rendered inline template (0.7ms) Completed 302 Found in 4ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller --------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.1ms) rollback transaction  (0.2ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller --------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"params"=>{"shop"=>nil}} 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) Completed 200 OK in 10ms (Views: 10.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (0.3ms) Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}} Rendered inline template (0.3ms) Completed 302 Found in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>nil} 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) Completed 200 OK in 14ms (Views: 13.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (0.4ms) Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}} Rendered inline template (0.3ms) Completed 302 Found in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller --------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (1.1ms) Completed 200 OK in 10ms (Views: 8.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>nil} 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) Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}} Rendered inline template (0.3ms) Completed 302 Found in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller --------------------------------------------------------------------  (0.1ms) rollback transaction  (0.3ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>nil} 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) Completed 200 OK in 9ms (Views: 8.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (0.5ms) Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller --------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"params"=>{"shop"=>"not-allowed.myshopify.com"}} Rendered inline template (1.2ms) Completed 302 Found in 9ms (Views: 7.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (0.6ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>nil} 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) Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller --------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access ---------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>nil} 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) Completed 200 OK in 16ms (Views: 16.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller --------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (1.2ms) Completed 200 OK in 10ms (Views: 7.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>nil} 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) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller --------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendering inline template Rendered inline template (2.3ms) Completed 200 OK in 11ms (Views: 8.5ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.2ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"parmas"=>{"shop"=>""}} 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 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) Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller --------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendering inline template Rendered inline template (1.2ms) Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>""} 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 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) Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller --------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.1ms) rollback transaction  (0.2ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller --------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>""} 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 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) Completed 200 OK in 10ms (Views: 7.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 7ms (ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendering inline template Rendered inline template (0.4ms) Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller --------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.3ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (1.8ms) Completed 200 OK in 12ms (Views: 9.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>nil} 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) Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (1.9ms) Completed 200 OK in 15ms (Views: 12.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>nil} 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) Completed 200 OK in 8ms (Views: 5.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.1ms) rollback transaction  (0.2ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller --------------------------------------------------------------------  (0.3ms) rollback transaction  (0.4ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.2ms) rollback transaction  (0.2ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>nil} 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) Completed 200 OK in 14ms (Views: 13.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendered inline template (0.7ms) Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller --------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_concern_to_application_controller --------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------- ShopifyAppWhitelistTest: test_is_working ----------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------- ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app -----------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action ---------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Processing by ShopifyApp::SessionsController#callback as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"allowed.myshopify.com"} Rendering inline template Rendered inline template (1.8ms) Completed 200 OK in 11ms (Views: 8.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page --------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#new as HTML Parameters: {"shop"=>""} 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 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) Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------------------------- ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location --------------------------------------------------------------------------------------------------------- Processing by ShopifyApp::SessionsController#create as HTML Parameters: {"shop"=>"not-allowed.myshopify.com"} Redirected to http://test.host/404.html Filter chain halted as :whitelist_check rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction