Sha256: 67cf4a1721203c540364a280681f62db540dd2ef7faca42be29245909d9e7b11
Contents?: true
Size: 620 Bytes
Versions: 2
Compression:
Stored size: 620 Bytes
Contents
require 'test_helper' class Kinney::PeopleControllerTest < ActionController::TestCase extend TestWithCassette test "should get index", :people_controller do get :index, :use_route => :kinney assert_response :success end test "should get show", :people_controller do get :show, :id => kinney_people(:tolson), :use_route => :kinney assert_response :success end test "show view should have a title", :people_controller do get :show, :id => kinney_people(:tolson), :use_route => :kinney assert_equal "Norris Tolson grew up in Edgecombe County.", assigns(:meta_description) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
kinney-0.0.3 | test/functional/kinney/people_controller_test.rb |
kinney-0.0.2 | test/functional/kinney/people_controller_test.rb |