Sha256: c8472921565551d2c5ccb0d29f7d2b1d998e4f6bd7723519759c6e18174a86f9

Contents?: true

Size: 414 Bytes

Versions: 4

Compression:

Stored size: 414 Bytes

Contents

# -*- coding: utf-8 -*-
require File.expand_path('../../test_helper', __FILE__)

module Peakium
  class EventWebhookTest < Test::Unit::TestCase
    should "event webhooks should be listable" do
      @mock.expects(:get).once.returns(test_response(test_event_webhook_array))
      ew = Peakium::EventWebhook.all.data
      assert ew.kind_of? Array
      assert ew[0].kind_of? Peakium::EventWebhook
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
peakium-0.1.4 test/peakium/event_webhook_test.rb
peakium-0.1.3 test/peakium/event_webhook_test.rb
peakium-0.1.2 test/peakium/event_webhook_test.rb
peakium-0.1.1 test/peakium/event_webhook_test.rb