From c003bd8a9ab801ac8edbe4fcdbc39c12df692aa0 Mon Sep 17 00:00:00 2001 From: Ken Johnson Date: Wed, 24 Apr 2013 19:20:51 -0400 Subject: [PATCH] added a tutorial controller to handle all deez toots --- app/controllers/tutorials_controller.rb | 2 ++ app/helpers/tutorials_helper.rb | 2 ++ app/views/layouts/tutorial/_sidebar.html.erb | 18 ++++-------------- test/functional/tutorials_controller_test.rb | 7 +++++++ test/unit/helpers/tutorials_helper_test.rb | 4 ++++ 5 files changed, 19 insertions(+), 14 deletions(-) create mode 100644 app/controllers/tutorials_controller.rb create mode 100644 app/helpers/tutorials_helper.rb create mode 100644 test/functional/tutorials_controller_test.rb create mode 100644 test/unit/helpers/tutorials_helper_test.rb diff --git a/app/controllers/tutorials_controller.rb b/app/controllers/tutorials_controller.rb new file mode 100644 index 0000000..4e75115 --- /dev/null +++ b/app/controllers/tutorials_controller.rb @@ -0,0 +1,2 @@ +class TutorialsController < ApplicationController +end diff --git a/app/helpers/tutorials_helper.rb b/app/helpers/tutorials_helper.rb new file mode 100644 index 0000000..30716fd --- /dev/null +++ b/app/helpers/tutorials_helper.rb @@ -0,0 +1,2 @@ +module TutorialsHelper +end diff --git a/app/views/layouts/tutorial/_sidebar.html.erb b/app/views/layouts/tutorial/_sidebar.html.erb index 0829777..04bb2fc 100644 --- a/app/views/layouts/tutorial/_sidebar.html.erb +++ b/app/views/layouts/tutorial/_sidebar.html.erb @@ -83,29 +83,19 @@ diff --git a/test/functional/tutorials_controller_test.rb b/test/functional/tutorials_controller_test.rb new file mode 100644 index 0000000..c3cc720 --- /dev/null +++ b/test/functional/tutorials_controller_test.rb @@ -0,0 +1,7 @@ +require 'test_helper' + +class TutorialsControllerTest < ActionController::TestCase + # test "the truth" do + # assert true + # end +end diff --git a/test/unit/helpers/tutorials_helper_test.rb b/test/unit/helpers/tutorials_helper_test.rb new file mode 100644 index 0000000..dae016c --- /dev/null +++ b/test/unit/helpers/tutorials_helper_test.rb @@ -0,0 +1,4 @@ +require 'test_helper' + +class TutorialsHelperTest < ActionView::TestCase +end