Sha256: d98952ed8e4ce4abd468d31d324e0678d86db1dea78294f3229419ecd8934dfe

Contents?: true

Size: 246 Bytes

Versions: 5

Compression:

Stored size: 246 Bytes

Contents

require 'sitehub/nil_proxy'
class SiteHub
  describe NilProxy do
    describe '#call' do
      let(:app) do
        described_class.new
      end

      it 'returns a 404' do
        expect(get('/').status).to eq(404)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sitehub-0.4.10 spec/sitehub/nil_proxy_spec.rb
sitehub-0.4.9 spec/sitehub/nil_proxy_spec.rb
sitehub-0.4.8 spec/sitehub/nil_proxy_spec.rb
sitehub-0.4.7 spec/sitehub/nil_proxy_spec.rb
sitehub-0.4.6 spec/sitehub/nil_proxy_spec.rb