Sha256: a279fd6f38bc6f132a39ae3cb268c3b82f22d12175726be1568abc0312e1978e
Contents?: true
Size: 425 Bytes
Versions: 1
Compression:
Stored size: 425 Bytes
Contents
require 'spec_helper' describe WordScramble::ScrambledWord do describe "valesags" do let(:sw) { WordScramble::ScrambledWord.new("valesags") } it "can make 'salvages'" do sw.can_make("salvages").should be_true end it "cannot make 'hooligans'" do sw.can_make("hooligans").should == false end it "knows how longs it is" do sw.length.should == "valesags".length end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
word_scramble-0.1.0 | spec/scrambled_word_spec.rb |