From 11ac0cad081eb418dfabe8a427332347beb12a0e Mon Sep 17 00:00:00 2001 From: Robin Dupret Date: Fri, 27 Jun 2014 16:50:41 +0200 Subject: Follow-up to #15215 [ci skip] --- guides/source/testing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides/source/testing.md') diff --git a/guides/source/testing.md b/guides/source/testing.md index c01b2e575a..a55466341a 100644 --- a/guides/source/testing.md +++ b/guides/source/testing.md @@ -585,7 +585,7 @@ Here's another example that uses `flash`, `assert_redirected_to`, and `assert_di ```ruby test "should create article" do - assert_difference('article.count') do + assert_difference('Article.count') do post :create, article: {title: 'Hi', body: 'This is my first article.'} end assert_redirected_to article_path(assigns(:article)) -- cgit v1.2.3