Sha256: d829b95b8646662991e381591ada50bed928283ea2177273aa40904bf5476de5

Contents?: true

Size: 347 Bytes

Versions: 5

Compression:

Stored size: 347 Bytes

Contents

require 'spec_helper'

module Vacuum
  module Endpoint
    describe Base do
      let(:endpoint) do
        described_class.new
      end

      it_behaves_like 'an endpoint'

      describe '#host' do
        it 'is not implemented' do
          expect { endpoint.host }.to raise_error NotImplementedError
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
vacuum-0.2.2 spec/vacuum/endpoint/base_spec.rb
vacuum-0.2.1 spec/vacuum/endpoint/base_spec.rb
vacuum-0.2.0 spec/vacuum/endpoint/base_spec.rb
vacuum-0.2.0.pre.1 spec/vacuum/endpoint/base_spec.rb
vacuum-0.2.0.pre spec/vacuum/endpoint/base_spec.rb