Sha256: 97b40f1ec1edaef0f2870bebb0d19db0ac7a87877c9767b0764019570d465dc7

Contents?: true

Size: 358 Bytes

Versions: 4

Compression:

Stored size: 358 Bytes

Contents

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

module Rainforest
  class ApiEndpointTest < ::Test::Unit::TestCase
    context '#initialize' do
      should 'set the client and parent' do
        ep = ApiEndpoint.new("client", "parent")
        assert_equal("client", ep.client)
        assert_equal("parent", ep.parent)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rainforest-2.1.0 test/rainforest/api_endpoint_test.rb
rainforest-2.0.2 test/rainforest/api_endpoint_test.rb
rainforest-2.0.1 test/rainforest/api_endpoint_test.rb
rainforest-2.0.0 test/rainforest/api_endpoint_test.rb