diff options
author | John Kelly Ferguson <hello@johnkellyferguson.com> | 2014-05-25 18:48:14 -0400 |
---|---|---|
committer | John Kelly Ferguson <hello@johnkellyferguson.com> | 2014-05-25 18:48:14 -0400 |
commit | 45072f34d27bda34b182f14f8b02d778d1648cce (patch) | |
tree | 66a21875edf8908997ba28f63a8d32f8cedd2a0b /guides/code/getting_started/test | |
parent | 6c30717f8c182dc05f63779b3a9a532fb9076b05 (diff) | |
download | rails-45072f34d27bda34b182f14f8b02d778d1648cce.tar.gz rails-45072f34d27bda34b182f14f8b02d778d1648cce.tar.bz2 rails-45072f34d27bda34b182f14f8b02d778d1648cce.zip |
Rename Posts to Articles in Guides' Getting Started App, continuation of #15215 [ci skip]
Diffstat (limited to 'guides/code/getting_started/test')
-rw-r--r-- | guides/code/getting_started/test/controllers/articles_controller_test.rb (renamed from guides/code/getting_started/test/controllers/posts_controller_test.rb) | 2 | ||||
-rw-r--r-- | guides/code/getting_started/test/fixtures/articles.yml (renamed from guides/code/getting_started/test/fixtures/posts.yml) | 0 | ||||
-rw-r--r-- | guides/code/getting_started/test/fixtures/comments.yml | 4 | ||||
-rw-r--r-- | guides/code/getting_started/test/helpers/articles_helper_test.rb | 4 | ||||
-rw-r--r-- | guides/code/getting_started/test/helpers/posts_helper_test.rb | 4 | ||||
-rw-r--r-- | guides/code/getting_started/test/models/article_test.rb (renamed from guides/code/getting_started/test/models/post_test.rb) | 2 |
6 files changed, 8 insertions, 8 deletions
diff --git a/guides/code/getting_started/test/controllers/posts_controller_test.rb b/guides/code/getting_started/test/controllers/articles_controller_test.rb index 7a6ee4f1db..361aa0f47f 100644 --- a/guides/code/getting_started/test/controllers/posts_controller_test.rb +++ b/guides/code/getting_started/test/controllers/articles_controller_test.rb @@ -1,6 +1,6 @@ require 'test_helper' -class PostsControllerTest < ActionController::TestCase +class ArticlesControllerTest < ActionController::TestCase # test "the truth" do # assert true # end diff --git a/guides/code/getting_started/test/fixtures/posts.yml b/guides/code/getting_started/test/fixtures/articles.yml index 46b01c3bb4..46b01c3bb4 100644 --- a/guides/code/getting_started/test/fixtures/posts.yml +++ b/guides/code/getting_started/test/fixtures/articles.yml diff --git a/guides/code/getting_started/test/fixtures/comments.yml b/guides/code/getting_started/test/fixtures/comments.yml index 9e409d8a61..05ad26f051 100644 --- a/guides/code/getting_started/test/fixtures/comments.yml +++ b/guides/code/getting_started/test/fixtures/comments.yml @@ -3,9 +3,9 @@ one: commenter: MyString body: MyText - post_id: + article_id: two: commenter: MyString body: MyText - post_id: + article_id: diff --git a/guides/code/getting_started/test/helpers/articles_helper_test.rb b/guides/code/getting_started/test/helpers/articles_helper_test.rb new file mode 100644 index 0000000000..b341344067 --- /dev/null +++ b/guides/code/getting_started/test/helpers/articles_helper_test.rb @@ -0,0 +1,4 @@ +require 'test_helper' + +class ArticlesHelperTest < ActionView::TestCase +end diff --git a/guides/code/getting_started/test/helpers/posts_helper_test.rb b/guides/code/getting_started/test/helpers/posts_helper_test.rb deleted file mode 100644 index 48549c2ea1..0000000000 --- a/guides/code/getting_started/test/helpers/posts_helper_test.rb +++ /dev/null @@ -1,4 +0,0 @@ -require 'test_helper' - -class PostsHelperTest < ActionView::TestCase -end diff --git a/guides/code/getting_started/test/models/post_test.rb b/guides/code/getting_started/test/models/article_test.rb index 6d9d463a71..11c8abe5f4 100644 --- a/guides/code/getting_started/test/models/post_test.rb +++ b/guides/code/getting_started/test/models/article_test.rb @@ -1,6 +1,6 @@ require 'test_helper' -class PostTest < ActiveSupport::TestCase +class ArticleTest < ActiveSupport::TestCase # test "the truth" do # assert true # end |