Permalink
Browse files

* follow the recent validation change.

  • Loading branch information...
1 parent a2172ad commit 121fa0f6c7a34576dd4fdc2a405fc2798fadbd63 @kou committed Mar 15, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/functional/pages_controller_test.rb
@@ -22,7 +22,7 @@ def test_should_get_index_page_when_no_pages
test "should create page" do
assert_difference('Page.count') do
- post :create, :page => { }
+ post :create, :page => {:name => "new-page"}
end
assert_redirected_to page_path(assigns(:page))

0 comments on commit 121fa0f

Please sign in to comment.