Skip to content
This repository has been archived by the owner on Dec 6, 2019. It is now read-only.

Commit

Permalink
extend PagesControllerTest 404 case
Browse files Browse the repository at this point in the history
  • Loading branch information
timoschilling committed Jul 11, 2012
1 parent 6d67e93 commit 4aa09e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/functional/pages_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class PagesControllerTest < ActionController::TestCase
test "should get 404" do
get :show, {page_name: "notthere"}
assert_response :missing
assert_template :missing
end

end

0 comments on commit 4aa09e5

Please sign in to comment.