Sha256: 487677bede4b3984ef5f27f613975dfd5a7089d04806b809861346398ff2e668

Contents?: true

Size: 420 Bytes

Versions: 1

Compression:

Stored size: 420 Bytes

Contents

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

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

    should "redemption options should be listable" do
      @mock.expects(:get).once.returns(test_response(test_redemption_option_array))
      c = SweetTooth::RedemptionOption.all.items
      assert c.kind_of? Array
      assert c[0].kind_of? SweetTooth::RedemptionOption
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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