Sha256: c3812e5b30e41134abaea34942e83178a2c147cca2c7eeddd0bc8f18f03200fe

Contents?: true

Size: 416 Bytes

Versions: 5

Compression:

Stored size: 416 Bytes

Contents

require 'test_helper'

module Supersaas
  class SchedulesTest < SupersaasTest
    def setup
      @client = client_instance
    end

    def test_list
      refute_nil @client.schedules.list
      assert_last_request_path "/api/schedules.json"
    end

    def test_resources
      refute_nil @client.schedules.resources(12345)
      assert_last_request_path "/api/resources.json?schedule_id=12345"
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
supersaas-api-client-1.1.1 test/schedules_test.rb
supersaas-api-client-1.1.0 test/schedules_test.rb
supersaas-api-client-1.0.0 test/schedules_test.rb
supersaas-api-client-0.10.0 test/schedules_test.rb
supersaas-api-client-0.9.0 test/schedules_test.rb