From 50fe4c3c2eceb90cb1b6a081c9274151259351dc Mon Sep 17 00:00:00 2001 From: Robin Fisher Date: Mon, 29 Apr 2019 21:37:56 +0100 Subject: Fix incorrect url in guide [ci skip] The example functional test lists the 'create' route as article_url rather than articles_url --- 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 26448958ea..18eecf49fa 100644 --- a/guides/source/testing.md +++ b/guides/source/testing.md @@ -1212,7 +1212,7 @@ Let's start by adding this assertion to our `test_should_create_article` test: ```ruby test "should create article" do assert_difference('Article.count') do - post article_url, params: { article: { title: 'Some title' } } + post articles_url, params: { article: { title: 'Some title' } } end assert_redirected_to article_path(Article.last) -- cgit v1.2.3