aboutsummaryrefslogtreecommitdiffstats
path: root/guides/code/getting_started/test/functional/home_controller_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'guides/code/getting_started/test/functional/home_controller_test.rb')
-rw-r--r--guides/code/getting_started/test/functional/home_controller_test.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/guides/code/getting_started/test/functional/home_controller_test.rb b/guides/code/getting_started/test/functional/home_controller_test.rb
new file mode 100644
index 0000000000..0d9bb47c3e
--- /dev/null
+++ b/guides/code/getting_started/test/functional/home_controller_test.rb
@@ -0,0 +1,9 @@
+require 'test_helper'
+
+class HomeControllerTest < ActionController::TestCase
+ test "should get index" do
+ get :index
+ assert_response :success
+ end
+
+end