Sha256: f0743d1c9958540a1b163fcdca733e79265eca82b62993e0ad5f4280760f6150
Contents?: true
Size: 248 Bytes
Versions: 6
Compression:
Stored size: 248 Bytes
Contents
require 'spec_helper' require 'parameters/types/regexp' describe Parameters::Types::Regexp do subject { described_class } describe "coerce" do it "should parse Strings" do subject.coerce('[a-z]').should == /[a-z]/ end end end
Version data entries
6 entries across 6 versions & 1 rubygems