aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorTeddy Wing2017-02-03 20:05:11 +0100
committerTeddy Wing2017-02-03 20:05:11 +0100
commit22207ed91997361da247bbe1f676bcc0c05baf51 (patch)
treee5d5f4dbcc3ad183c61ef4287e34634cff4b63ae /test
parent085aef748499d4806104b4af8f367a91870acffd (diff)
downloadAngular-tutorial-22207ed91997361da247bbe1f676bcc0c05baf51.tar.bz2
Create HomeController
Diffstat (limited to 'test')
-rw-r--r--test/controllers/home_controller_test.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/controllers/home_controller_test.rb b/test/controllers/home_controller_test.rb
new file mode 100644
index 0000000..6013b68
--- /dev/null
+++ b/test/controllers/home_controller_test.rb
@@ -0,0 +1,9 @@
+require 'test_helper'
+
+class HomeControllerTest < ActionDispatch::IntegrationTest
+ test "should get index" do
+ get home_index_url
+ assert_response :success
+ end
+
+end