We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Generates monetary value in range (:min..:max). Minimum defaults to 0. Maximum to 10.
(:min..:max)
Forgery(:monetary).money(:min => 12, :max => 14) # => "13.56"
Accepts the same options as money. Format is hard-cored to dollars.
Forgery(:monetary).formatted_money(:min => 12, :max => 14) # => "$12.67"