Permalink
Browse files

renaming tests by removing proxy_options from names

Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information...
1 parent e13e8dc commit 659e3b02ab98c8f043dfb02d997758d122034181 Neeraj Singh committed with josevalim Jul 20, 2010
Showing with 5 additions and 5 deletions.
  1. +5 −5 activerecord/test/cases/named_scope_test.rb
@@ -270,27 +270,27 @@ def test_many_should_return_true_if_more_than_one
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

0 comments on commit 659e3b0

Please sign in to comment.