Sha256: e3158ae187c92db127bb24b0756fffa71b06d544c0bc066a4c3afb6e20718e02

Contents?: true

Size: 338 Bytes

Versions: 5

Compression:

Stored size: 338 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

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
word_scramble-0.0.5 spec/scrambled_word_spec.rb
word_scramble-0.0.4 spec/scrambled_word_spec.rb
word_scramble-0.0.3 spec/scrambled_word_spec.rb
word_scramble-0.0.2 spec/scrambled_word_spec.rb
word_scramble-0.0.1 spec/scrambled_word_spec.rb