Sha256: df35563ff8c398ef04d5d1c0f972f05a14e76b06569ffdf77aa6b87248574d3c

Contents?: true

Size: 196 Bytes

Versions: 4

Compression:

Stored size: 196 Bytes

Contents

require 'spec_helper'

describe RouteSignature do
  it 'should have the initial regexp as the pattern' do
    exp = /[w+]/
    sig = RouteSignature.new exp
    sig.pattern.should == exp
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
nyny-2.0.0 spec/route_signature_spec.rb
nyny-1.0.2 spec/route_signature_spec.rb
nyny-1.0.1 spec/route_signature_spec.rb
nyny-1.0.0 spec/route_signature_spec.rb