Sha256: 9279f7bc553e277f77d25ceb2a35b53c62082b0683d4ddcec5b5766a891d2f5f

Contents?: true

Size: 246 Bytes

Versions: 10

Compression:

Stored size: 246 Bytes

Contents

require 'sitehub/nil_route'
class SiteHub
  describe NilRoute 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

10 entries across 10 versions & 1 rubygems

Version Path
sitehub-0.5.0.alpha12 spec/sitehub/nil_route_spec.rb
sitehub-0.5.0.alpha11 spec/sitehub/nil_route_spec.rb
sitehub-0.5.0.alpha10 spec/sitehub/nil_route_spec.rb
sitehub-0.5.0.alpha8 spec/sitehub/nil_route_spec.rb
sitehub-0.5.0.alpha7 spec/sitehub/nil_route_spec.rb
sitehub-0.5.0.alpha6 spec/sitehub/nil_route_spec.rb
sitehub-0.5.0.alpha5 spec/sitehub/nil_route_spec.rb
sitehub-0.5.0.alpha4 spec/sitehub/nil_route_spec.rb
sitehub-0.5.0.alpha3 spec/sitehub/nil_route_spec.rb
sitehub-0.5.0.alpha2 spec/sitehub/nil_route_spec.rb