File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4242! /.env
4343
4444! /config /credentials /development.key
45+ .DS_Store
Original file line number Diff line number Diff line change 44 get "up" => "rails/health#show" , :as => :rails_health_check
55
66 # resources :homepage, only: [:index]
7- root "homepage#index"
7+ root to : redirect ( '/hacker/login' )
88 get "/about" , to : "homepage#about"
99 get "/contact" , to : "homepage#contact"
1010
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ console_command = '/rails/bin/rails console'
1010[build ]
1111
1212[http_service ]
13-
1413 internal_port = 3000
1514 force_https = true
1615 auto_stop_machines = false
Original file line number Diff line number Diff line change 33class HomepageControllerTest < ActionDispatch ::IntegrationTest
44 test "should get index" do
55 get root_path
6- assert_response :success
6+ assert_redirected_to '/hacker/login'
77 end
88end
You can’t perform that action at this time.
0 commit comments