Sha256: b4c0b87c874e0ae11ab0d66331b58991253a2f3c432b2b84a645dab08c36e029

Contents?: true

Size: 183 Bytes

Versions: 7

Compression:

Stored size: 183 Bytes

Contents

require "spec/spec_helper"

describe Regexp do
  describe "#inspect" do
    it "returns the regexp" do
      matcher = /foo/
      matcher.inspect.should == "/foo/"
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rr-0.4.5 spec/rr/expectations/regexp_spec.rb
rr-0.4.10 spec/rr/expectations/regexp_spec.rb
rr-0.4.8 spec/rr/expectations/regexp_spec.rb
rr-0.4.4 spec/rr/expectations/regexp_spec.rb
rr-0.4.9 spec/rr/expectations/regexp_spec.rb
rr-0.4.6 spec/rr/expectations/regexp_spec.rb
rr-0.4.7 spec/rr/expectations/regexp_spec.rb