public
Description: A Ruby web application framework
Homepage: http://www.mackframework.com
Clone URL: git://github.com/markbates/mack.git
Click here to lend your support to: mack and make a donation at www.pledgie.com !
mack / lib / mack / generators / mack_application_generator / templates / test / controllers / default_controller_spec.rb.template
100644 9 lines (8 sloc) 0.292 kb
1
2
3
4
5
6
7
8
9
require File.join(File.dirname(__FILE__), "..", "spec_helper.rb")
 
describe DefaultController do
  it "should be able to successfully connect to home page" do
    get home_page_url
    response.should be_successful
    response.body.should match(/Welcome to your Mack application!/)
  end
end