Sha256: 010458efa8fa7d018fa00cb06b9efe459a25141dfa98fc51cadc721d627804a9
Contents?: true
Size: 363 Bytes
Versions: 1
Compression:
Stored size: 363 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe "regexhelper_image" do it "should return a regex string testing for proper image file extension" do image_regex = REGEXHELPER.image_regex image_regex.inspect.should == '/^.*([^\.][\.](([gG][iI][fF])|([Jj][pP][Gg])|([Jj][pP][Ee][Gg])|([Bb][mM][pP])|([Pp][nN][Gg])))/' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
regexhelper-0.1.0 | spec/regexhelper_image_spec.rb |