Created
January 19, 2016 03:53
-
-
Save prio101/aa728ddc528adbfca051 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Testing the response | |
| test "should get the home index" do | |
| assert_routing 'admin/home' , {controller: 'admin/home/home' , action: 'index' } | |
| assert_response :success | |
| end | |
| test "should go into the home index with okay response" do | |
| get :index | |
| assert_response :success | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment