Sha256: 9d85c9282bfbd6cc80e3df38ab793491f3c98782c10938ab60d39c4add643926
Contents?: true
Size: 259 Bytes
Versions: 8
Compression:
Stored size: 259 Bytes
Contents
require 'spec_helper.rb' describe Sprocket do it "should not be valid with bad inputs" do sprocket = Sprocket.new(integer_gt_2: 1, text_only_letters: 'abcd4') expect(sprocket.valid?).to be_false expect(sprocket.errors.count).to eq 2 end end
Version data entries
8 entries across 8 versions & 1 rubygems