Sha256: d69d68a174a88423328e6df1bcc80c067b2409f001b9fb430d3c701fdce632d6

Contents?: true

Size: 533 Bytes

Versions: 1

Compression:

Stored size: 533 Bytes

Contents

require 'test_helper'

class Kinney::PeopleControllerTest < ActionController::TestCase
  test "should get index" do
    get :index, :use_route => :kinney
    assert_response :success
  end

  test "should get show" do
    get :show, :id => kinney_people(:tolson), :use_route => :kinney
    assert_response :success
  end

  test "show view should have a title" 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

1 entries across 1 versions & 1 rubygems

Version Path
kinney-0.0.1 test/functional/kinney/people_controller_test.rb