Skip to content

Commit

Permalink
* follow the recent validation change.
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Mar 15, 2009
1 parent a2172ad commit 121fa0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/functional/pages_controller_test.rb
Expand Up @@ -22,7 +22,7 @@ def test_should_get_index_page_when_no_pages


test "should create page" do test "should create page" do
assert_difference('Page.count') do assert_difference('Page.count') do
post :create, :page => { } post :create, :page => {:name => "new-page"}
end end


assert_redirected_to page_path(assigns(:page)) assert_redirected_to page_path(assigns(:page))
Expand Down

0 comments on commit 121fa0f

Please sign in to comment.