Sha256: 56d3dfecb30a8c43bf3aa8aa84a99a6d7fa500cc12324dfeb563698b70ce75b6

Contents?: true

Size: 367 Bytes

Versions: 1

Compression:

Stored size: 367 Bytes

Contents

require 'spec_helper'

describe SubscriptionPrice do
  # before do
  #   client
  # end

  context 'initialize' do
    it 'initializes with data from params' do
      subject = SubscriptionPrice.new("local_amount" => 10.40, "local_currency" => "USD")
      expect(subject.local_amount).to eq 10.40
      expect(subject.local_currency).to eq "USD"
    end

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shutterstock-v2-0.0.1 spec/client/subscription_price_spec.rb