Sha256: e3d4a615e4d931114c453254ad2337b4a8e7b8281dcbe5d01c0641a783948c36

Contents?: true

Size: 392 Bytes

Versions: 6

Compression:

Stored size: 392 Bytes

Contents

require 'spec_helper'
describe Paysio::Reward do
  it { should be_listable_resource }
  it { should be_updatable_resource }
  it { should be_deleteable_resource }

  it "should return reward on create" do
    client = authorized_paysio_client

    client.expects(:post).once.returns(test_response(test_reward))
    c = Paysio::Reward.create
    c.should be_a_kind_of(Paysio::Reward)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
paysio-1.0.10 spec/resources/reward_spec.rb
paysio-1.0.9 spec/resources/reward_spec.rb
paysio-1.0.8 spec/resources/reward_spec.rb
paysio-1.0.7 spec/resources/reward_spec.rb
paysio-1.0.6 spec/resources/reward_spec.rb
paysio-1.0.5 spec/resources/reward_spec.rb