lib/facemock/authorization_code.rb in facemock-0.0.9 vs lib/facemock/authorization_code.rb in facemock-0.0.10
- old
+ new
@@ -6,10 +6,10 @@
COLUMN_NAMES = [:id, :string, :user_id, :created_at]
def initialize(options={})
opts = Hashie::Mash.new(options)
@id = opts.id
- @string = opts.string || rand(36**255).to_s(36)
+ @string = opts.string || Faker::Lorem.characters
@user_id = opts.user_id
@created_at = opts.created_at
end
end
end