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.74.0 spec/unit/braintree/modification_spec.rb
braintree-2.73.0 spec/unit/braintree/modification_spec.rb
braintree-2.72.0 spec/unit/braintree/modification_spec.rb
braintree-2.71.0 spec/unit/braintree/modification_spec.rb
braintree-2.70.0 spec/unit/braintree/modification_spec.rb
braintree-2.69.1 spec/unit/braintree/modification_spec.rb
braintree-2.69.0 spec/unit/braintree/modification_spec.rb
braintree-2.68.2 spec/unit/braintree/modification_spec.rb
braintree-2.68.1 spec/unit/braintree/modification_spec.rb
braintree-2.68.0 spec/unit/braintree/modification_spec.rb
braintree-2.67.0 spec/unit/braintree/modification_spec.rb
braintree-2.66.0 spec/unit/braintree/modification_spec.rb
braintree-2.65.0 spec/unit/braintree/modification_spec.rb
braintree-2.64.0 spec/unit/braintree/modification_spec.rb
braintree-2.63.0 spec/unit/braintree/modification_spec.rb
braintree-2.62.0 spec/unit/braintree/modification_spec.rb
braintree-2.61.1 spec/unit/braintree/modification_spec.rb
braintree-2.61.0 spec/unit/braintree/modification_spec.rb
braintree-2.60.0 spec/unit/braintree/modification_spec.rb
braintree-2.59.0 spec/unit/braintree/modification_spec.rb