rename references of privileged to gold
This commit is contained in:
@@ -3,4 +3,4 @@ FactoryGirl.define do
|
||||
artist
|
||||
url {Faker::Internet.domain_name}
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -3,4 +3,4 @@ FactoryGirl.define do
|
||||
reason {Faker::Lorem.words.join(" ")}
|
||||
duration 60
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -3,4 +3,4 @@ FactoryGirl.define do
|
||||
post
|
||||
body {Faker::Lorem.sentences.join(" ")}
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -2,4 +2,4 @@ FactoryGirl.define do
|
||||
factory(:comment_vote) do
|
||||
score 1
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -2,4 +2,4 @@ FactoryGirl.define do
|
||||
factory(:forum_post) do
|
||||
body {Faker::Lorem.sentences.join(" ")}
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -4,4 +4,4 @@ FactoryGirl.define do
|
||||
is_sticky false
|
||||
is_locked false
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -4,4 +4,4 @@ FactoryGirl.define do
|
||||
reason {Faker::Lorem.words.join(" ")}
|
||||
ip_addr "127.0.0.1"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -11,4 +11,4 @@ FactoryGirl.define do
|
||||
updater_id :factory => :user
|
||||
updater_ip_addr "127.0.0.1"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -12,4 +12,4 @@ FactoryGirl.define do
|
||||
file_size 2000
|
||||
rating "q"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -3,4 +3,4 @@ FactoryGirl.define do
|
||||
reason "xxx"
|
||||
is_resolved false
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -15,7 +15,7 @@ FactoryGirl.define do
|
||||
ban {|x| x.association(:ban)}
|
||||
end
|
||||
|
||||
factory(:privileged_user) do
|
||||
factory(:gold_user) do
|
||||
level 30
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user