Sha256: 41452c038c9f866ace69b7cb56b0d88c88433373b41355963191149a9c22b0c1

Contents?: true

Size: 258 Bytes

Versions: 15

Compression:

Stored size: 258 Bytes

Contents

require 'sitehub/location_rewriters_spec'
class SiteHub
  describe NilLocationRewriter do
    describe 'apply' do
      it 'returns the location parameter' do
        expect(subject.apply(:location, :source_url)).to eq(:location)
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
sitehub-0.5.0.alpha12 spec/sitehub/nil_location_rewriter_spec.rb
sitehub-0.4.10 spec/sitehub/nil_location_rewriter_spec.rb
sitehub-0.5.0.alpha11 spec/sitehub/nil_location_rewriter_spec.rb
sitehub-0.5.0.alpha10 spec/sitehub/nil_location_rewriter_spec.rb
sitehub-0.5.0.alpha8 spec/sitehub/nil_location_rewriter_spec.rb
sitehub-0.5.0.alpha7 spec/sitehub/nil_location_rewriter_spec.rb
sitehub-0.5.0.alpha6 spec/sitehub/nil_location_rewriter_spec.rb
sitehub-0.5.0.alpha5 spec/sitehub/nil_location_rewriter_spec.rb
sitehub-0.5.0.alpha4 spec/sitehub/nil_location_rewriter_spec.rb
sitehub-0.5.0.alpha3 spec/sitehub/nil_location_rewriter_spec.rb
sitehub-0.5.0.alpha2 spec/sitehub/nil_location_rewriter_spec.rb
sitehub-0.4.9 spec/sitehub/nil_location_rewriter_spec.rb
sitehub-0.4.8 spec/sitehub/nil_location_rewriter_spec.rb
sitehub-0.4.7 spec/sitehub/nil_location_rewriter_spec.rb
sitehub-0.4.6 spec/sitehub/nil_location_rewriter_spec.rb