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.36.0 spec/unit/braintree/modification_spec.rb
braintree-2.35.0 spec/unit/braintree/modification_spec.rb
braintree-2.34.1 spec/unit/braintree/modification_spec.rb
braintree-2.34.0 spec/unit/braintree/modification_spec.rb
braintree-2.33.1 spec/unit/braintree/modification_spec.rb
braintree-2.33.0 spec/unit/braintree/modification_spec.rb
braintree-2.32.1 spec/unit/braintree/modification_spec.rb
braintree-2.31.0 spec/unit/braintree/modification_spec.rb
braintree-2.30.2 spec/unit/braintree/modification_spec.rb
braintree-2.30.0 spec/unit/braintree/modification_spec.rb
braintree-2.29.0 spec/unit/braintree/modification_spec.rb
braintree-2.28.0 spec/unit/braintree/modification_spec.rb
braintree-2.27.1 spec/unit/braintree/modification_spec.rb
braintree-2.27.0 spec/unit/braintree/modification_spec.rb
braintree-2.26.0 spec/unit/braintree/modification_spec.rb
braintree-2.25.0 spec/unit/braintree/modification_spec.rb
braintree-2.24.0 spec/unit/braintree/modification_spec.rb
braintree-2.23.0 spec/unit/braintree/modification_spec.rb
braintree-2.22.0 spec/unit/braintree/modification_spec.rb
braintree-2.21.0 spec/unit/braintree/modification_spec.rb