Sha256: f8d8369aef2c8ba7b2b4b9a41a10304dcc8c540c13500be959309258f31c67db
Contents?: true
Size: 336 Bytes
Versions: 38
Compression:
Stored size: 336 Bytes
Contents
# allows creditcard info to be saved to the datbase which is needed for factories to work properly class TestCard < Creditcard def remove_readonly_attributes(attributes) attributes; end end Factory.define(:creditcard, :class => TestCard) do |f| f.verification_value 123 f.month 12 f.year 2013 f.number "4111111111111111" end
Version data entries
38 entries across 38 versions & 7 rubygems