Sha256: 0bf859ec1caed19d16c3f92f8b940221ce3da94565046c9c671f7ce24edbba94
Contents?: true
Size: 487 Bytes
Versions: 5
Compression:
Stored size: 487 Bytes
Contents
require 'spec_helper' module Vacuum module Endpoint describe ProductAdvertising do let(:endpoint) do described_class.new end it_behaves_like 'an endpoint' describe '#host' do it 'returns a host' do endpoint.host.should match /amazon/ end end describe '#tag' do it 'requires tag to have been set' do expect { endpoint.tag }.to raise_error MissingTag end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems