aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/code/getting_started/test/functional/home_controller_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/guides/code/getting_started/test/functional/home_controller_test.rb')
-rw-r--r--railties/guides/code/getting_started/test/functional/home_controller_test.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/railties/guides/code/getting_started/test/functional/home_controller_test.rb b/railties/guides/code/getting_started/test/functional/home_controller_test.rb
new file mode 100644
index 0000000000..0d9bb47c3e
--- /dev/null
+++ b/railties/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