Sha256: 62959c01b2ae1237366b00770bade45d95bcccba30e6b7a9cb0931a5864c0c9d
Contents?: true
Size: 405 Bytes
Versions: 4
Compression:
Stored size: 405 Bytes
Contents
require 'spec_helper' describe DataMapper::Property::Decimal do before :all do @name = :rate @type = DataMapper::Property::Decimal @options = { :precision => 5, :scale => 2 } @primitive = BigDecimal @value = BigDecimal('1.0') @other_value = BigDecimal('2.0') @invalid_value = true end it_should_behave_like "A public Property" end
Version data entries
4 entries across 4 versions & 1 rubygems