Sha256: 6b9b44d7e21450ce0b4479259c71833af26b989f4dd328e24da27b4803fe49c0

Contents?: true

Size: 281 Bytes

Versions: 5

Compression:

Stored size: 281 Bytes

Contents

require 'test_helper'
require 'hyperclient'

describe Hyperclient do
  describe 'new' do
    it 'creates a new EntryPoint with the url' do
      Hyperclient::EntryPoint.expects(:new).with('http://api.example.org')

      Hyperclient.new('http://api.example.org')
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hyperclient-0.5.0 test/hyperclient_test.rb
hyperclient-0.4.0 test/hyperclient_test.rb
hyperclient-0.3.2 test/hyperclient_test.rb
hyperclient-0.3.1 test/hyperclient_test.rb
hyperclient-0.3.0 test/hyperclient_test.rb