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_test.rb.template
100644 11 lines (9 sloc) 0.336 kb
1
2
3
4
5
6
7
8
9
10
11
# This is a sample TestCase file. You can safely delete this file
require File.join(File.dirname(__FILE__), "..", "test_helper.rb")
 
class DefaultControllerTest < Test::Unit::TestCase
  def test_home_page
    get home_page_url
    assert_response :success
    assert_match("Welcome to your Mack application!", response.body)
  end
end