Sha256: 24b93c59aeb0edf1de5a6ff84c02acca98d39bd8c109bd07aec6ec1e71918642

Contents?: true

Size: 245 Bytes

Versions: 93

Compression:

Stored size: 245 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + "/../spec_helper")

describe Braintree::Modification do
  it "converts string amount" do
    Braintree::Modification._new(:amount => "100.00").amount.should == BigDecimal.new("100.00")
  end
end

Version data entries

93 entries across 93 versions & 1 rubygems

Version Path
braintree-2.93.0 spec/unit/braintree/modification_spec.rb
braintree-2.92.0 spec/unit/braintree/modification_spec.rb
braintree-2.91.0 spec/unit/braintree/modification_spec.rb
braintree-2.90.0 spec/unit/braintree/modification_spec.rb
braintree-2.89.0 spec/unit/braintree/modification_spec.rb
braintree-2.88.0 spec/unit/braintree/modification_spec.rb
braintree-2.87.0 spec/unit/braintree/modification_spec.rb
braintree-2.86.0 spec/unit/braintree/modification_spec.rb
braintree-2.85.0 spec/unit/braintree/modification_spec.rb
braintree-2.84.0 spec/unit/braintree/modification_spec.rb
braintree-2.83.0 spec/unit/braintree/modification_spec.rb
braintree-2.82.0 spec/unit/braintree/modification_spec.rb
braintree-2.81.0 spec/unit/braintree/modification_spec.rb
braintree-2.80.1 spec/unit/braintree/modification_spec.rb
braintree-2.80.0 spec/unit/braintree/modification_spec.rb
braintree-2.79.0 spec/unit/braintree/modification_spec.rb
braintree-2.78.0 spec/unit/braintree/modification_spec.rb
braintree-2.77.0 spec/unit/braintree/modification_spec.rb
braintree-2.76.0 spec/unit/braintree/modification_spec.rb
braintree-2.75.0 spec/unit/braintree/modification_spec.rb