Sha256: 0b64585e6e97eec60f46d5489356084900391b20206e28dc15121bc9d1c3080a

Contents?: true

Size: 354 Bytes

Versions: 1

Compression:

Stored size: 354 Bytes

Contents

require File.expand_path('../../test_helper', __FILE__)

module SweetTooth
  class RedemptionTest < Test::Unit::TestCase

    should "create should return a new redemption" do
      @mock.expects(:post).once.returns(test_response(test_redemption))
      r = SweetTooth::Redemption.create
      assert_equal "red_test_redemption", r.id
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sweettooth-1.0.0 test/sweettooth/redemption_test.rb