* Removed Pixa/Tinami sources
* Upgraded to Rails 3.2.3 * Fixed tests
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
Factory.define(:note) do |f|
|
||||
f.creator {|x| x.association(:user)}
|
||||
f.post {|x| x.association(:post)}
|
||||
f.x 0
|
||||
f.y 0
|
||||
f.width 0
|
||||
f.height 0
|
||||
f.is_active true
|
||||
f.body {Faker::Lorem.sentences.join}
|
||||
f.updater_id {|x| x.association(:user)}
|
||||
f.updater_ip_addr "127.0.0.1"
|
||||
end
|
||||
FactoryGirl.define do
|
||||
factory(:note) do
|
||||
creator :factory => :user
|
||||
post
|
||||
x 0
|
||||
y 0
|
||||
width 0
|
||||
height 0
|
||||
is_active true
|
||||
body {Faker::Lorem.sentences.join(" ")}
|
||||
updater_id :factory => :user
|
||||
updater_ip_addr "127.0.0.1"
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user