Sha256: 615fcdc0147f3b7cb7a721908773bed818380a8c779ee9de177b1f2aa5b14b9d

Contents?: true

Size: 465 Bytes

Versions: 59

Compression:

Stored size: 465 Bytes

Contents

require 'spec_helper'

describe Paypal::Payment::Recurring::Activation do
  let :instance do
    Paypal::Payment::Recurring::Activation.new(
      :initial_amount => 100,
      :failed_action => 'ContinueOnFailure'
    )
  end

  describe '#to_params' do
    it 'should handle Recurring Profile activation parameters' do
      instance.to_params.should == {
        :INITAMT => '100.00',
        :FAILEDINITAMTACTION => 'ContinueOnFailure'
      }
    end
  end
end

Version data entries

59 entries across 59 versions & 3 rubygems

Version Path
creative-paypal-express-1.4.1 spec/paypal/payment/recurring/activation_spec.rb
creative-paypal-express-1.4.0 spec/paypal/payment/recurring/activation_spec.rb
creative-paypal-express-1.3.0 spec/paypal/payment/recurring/activation_spec.rb
creative-paypal-express-1.2.1 spec/paypal/payment/recurring/activation_spec.rb
creative-paypal-express-1.2.0 spec/paypal/payment/recurring/activation_spec.rb
creative-paypal-express-1.1.0 spec/paypal/payment/recurring/activation_spec.rb
dfg-paypal-0.8.2 spec/paypal/payment/recurring/activation_spec.rb
creative-paypal-express-1.0.1.dev2 spec/paypal/payment/recurring/activation_spec.rb
creative-paypal-express-1.0.1.dev1 spec/paypal/payment/recurring/activation_spec.rb
creative-paypal-express-1.0.0 spec/paypal/payment/recurring/activation_spec.rb
creative-paypal-express-0.8.2.4 spec/paypal/payment/recurring/activation_spec.rb
creative-paypal-express-0.8.2.3 spec/paypal/payment/recurring/activation_spec.rb
creative-paypal-express-0.8.2.2 spec/paypal/payment/recurring/activation_spec.rb
creative-paypal-express-0.8.2.1 spec/paypal/payment/recurring/activation_spec.rb
creative-paypal-express-0.8.2 spec/paypal/payment/recurring/activation_spec.rb
creative-paypal-express-0.8.1 spec/paypal/payment/recurring/activation_spec.rb
paypal-express-0.8.1 spec/paypal/payment/recurring/activation_spec.rb
paypal-express-0.8.0 spec/paypal/payment/recurring/activation_spec.rb
paypal-express-0.7.1 spec/paypal/payment/recurring/activation_spec.rb
paypal-express-0.7.0 spec/paypal/payment/recurring/activation_spec.rb