--- /dev/null
+class HelpController < ApplicationController
+
+ # GET /help
+ def index
+ # nop
+ end
+
+end
--- /dev/null
+module HelpHelper
+end
--- /dev/null
+<%- @title = 'Help' -%>
+
+<h1><%=h @title %></h1>
+
--- /dev/null
+require 'spec_helper'
+
+describe HelpController do
+
+ #Delete these examples and add some real ones
+ it "should use HelpController" do
+ controller.should be_an_instance_of(HelpController)
+ end
+
+
+ describe "GET 'index'" do
+ it "should be successful" do
+ get 'index'
+ response.should be_success
+ end
+ end
+end
--- /dev/null
+require 'spec_helper'
+
+describe HelpHelper do
+
+ #Delete this example and add some real ones or delete this file
+ it "should be included in the object returned by #helper" do
+ included_modules = (class << helper; self; end).send :included_modules
+ included_modules.should include(HelpHelper)
+ end
+
+end
--- /dev/null
+require 'spec_helper'
+
+describe "/help/index" do
+ before(:each) do
+ render 'help/index'
+ end
+
+ #Delete this example and add some real ones or delete this file
+ it "should tell you where to find the file" do
+ response.should have_tag('p', %r[Find me in app/views/help/index])
+ end
+end