diff options
author | Neeraj Singh <neerajdotname@gmail.com> | 2010-07-20 09:51:06 -0400 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-07-21 15:25:39 +0200 |
commit | 659e3b02ab98c8f043dfb02d997758d122034181 (patch) | |
tree | 9e678971d12ba15d1a952fcb17df7073a6255d64 /activerecord/test/cases | |
parent | e13e8dcf44fd27332ecd4e5c943d3d09efb58c96 (diff) | |
download | rails-659e3b02ab98c8f043dfb02d997758d122034181.tar.gz rails-659e3b02ab98c8f043dfb02d997758d122034181.tar.bz2 rails-659e3b02ab98c8f043dfb02d997758d122034181.zip |
renaming tests by removing proxy_options from names
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/named_scope_test.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/activerecord/test/cases/named_scope_test.rb b/activerecord/test/cases/named_scope_test.rb index dc85b395d3..7c037b20c5 100644 --- a/activerecord/test/cases/named_scope_test.rb +++ b/activerecord/test/cases/named_scope_test.rb @@ -270,27 +270,27 @@ class NamedScopeTest < ActiveRecord::TestCase assert Topic.base.many? end - def test_should_build_with_proxy_options + def test_should_build_on_top_of_named_scope topic = Topic.approved.build({}) assert topic.approved end - def test_should_build_new_with_proxy_options + def test_should_build_new_on_top_of_named_scope topic = Topic.approved.new assert topic.approved end - def test_should_create_with_proxy_options + def test_should_create_on_top_of_named_scope topic = Topic.approved.create({}) assert topic.approved end - def test_should_create_with_bang_with_proxy_options + def test_should_create_with_bang_on_top_of_named_scope topic = Topic.approved.create!({}) assert topic.approved end - def test_should_build_with_proxy_options_chained + def test_should_build_on_top_of_chained_named_scopes topic = Topic.approved.by_lifo.build({}) assert topic.approved assert_equal 'lifo', topic.author_name |