rename references of privileged to gold

This commit is contained in:
r888888888
2013-04-28 00:04:52 -07:00
parent 6a00c6330f
commit d5f575159f
112 changed files with 165 additions and 165 deletions

View File

@@ -704,7 +704,7 @@ class PostTest < ActiveSupport::TestCase
end
end
should "decrement the post's score for privileged users" do
should "decrement the post's score for gold users" do
@post.remove_favorite!(@user)
@post.reload
assert_equal(0, @post.score)
@@ -757,7 +757,7 @@ class PostTest < ActiveSupport::TestCase
end
end
should "increment the post's score for privileged users" do
should "increment the post's score for gold users" do
@post.add_favorite!(@user)
@post.reload
assert_equal(1, @post.score)