Sha256: 68469a4e557e9995b45c811a959f7f2343f68bd4cbe3fa05ae3b995ccf8bbb6f
Contents?: true
Size: 259 Bytes
Versions: 1
Compression:
Stored size: 259 Bytes
Contents
require 'spec_helper' describe User do it 'regexp' do user1 = User.create(:info => "cool") user2 = User.create(:info => "hello") result = User.regexp(:info, "ll") result.should have(1).user result.first.should == user2 end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
induction_cannon_01-0.0.1 | spec/models/user_spec.rb |