views:

10

answers:

0

hi,

I just trying the integration test in ruby on rails.. I have added a file layout_links_spec.rb

 require 'spec_helper'

 describe "LayoutLinks" do
   it "shuld hve a homepage" do
     get '/'
     response.should render_template("pages/home")
   end 

   it "shuld hve a contactpage" do
     get '/contact'
     response.should render_template("pages/contact")
   end 

   it "shuld hve a about page" do
     get '/contact'
     response.should render_template("pages/contact")
   end  

   it "shuld hve a help page" do
     get '/help'
     response.should render_template("pages/help")
   end
end

But the above thing showing me the error..when i test it using $ spec spec/

Please give suggestions..

end