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

@@ -3,4 +3,4 @@ FactoryGirl.define do
artist
url {Faker::Internet.domain_name}
end
end
end

View File

@@ -3,4 +3,4 @@ FactoryGirl.define do
reason {Faker::Lorem.words.join(" ")}
duration 60
end
end
end

View File

@@ -3,4 +3,4 @@ FactoryGirl.define do
post
body {Faker::Lorem.sentences.join(" ")}
end
end
end

View File

@@ -2,4 +2,4 @@ FactoryGirl.define do
factory(:comment_vote) do
score 1
end
end
end

View File

@@ -2,4 +2,4 @@ FactoryGirl.define do
factory(:forum_post) do
body {Faker::Lorem.sentences.join(" ")}
end
end
end

View File

@@ -4,4 +4,4 @@ FactoryGirl.define do
is_sticky false
is_locked false
end
end
end

View File

@@ -4,4 +4,4 @@ FactoryGirl.define do
reason {Faker::Lorem.words.join(" ")}
ip_addr "127.0.0.1"
end
end
end

View File

@@ -11,4 +11,4 @@ FactoryGirl.define do
updater_id :factory => :user
updater_ip_addr "127.0.0.1"
end
end
end

View File

@@ -12,4 +12,4 @@ FactoryGirl.define do
file_size 2000
rating "q"
end
end
end

View File

@@ -3,4 +3,4 @@ FactoryGirl.define do
reason "xxx"
is_resolved false
end
end
end

View File

@@ -15,7 +15,7 @@ FactoryGirl.define do
ban {|x| x.association(:ban)}
end
factory(:privileged_user) do
factory(:gold_user) do
level 30
end