Sha256: b2dda52c8c97ee87b1878a2a17d7ed199d5fcca45a8f7d7821122756fc6b3287
Contents?: true
Size: 902 Bytes
Versions: 1
Compression:
Stored size: 902 Bytes
Contents
require_relative '../loader' require_relative 'spec_helper' describe Collage do before do @collage = Collage.new(sample_10_words) end it 'should be able to read the words as commandline options and store them' do @collage.search_words.count.must_equal 10 end it 'should have 10 exact words in ARGV' do @collage.search_words.must_equal ARGV[0..9] end it 'should verify the search wordcount and add 2 more words if required' do @collage = Collage.new(sample_8_words) @collage.search_words.count.must_equal 10 end it 'should verify the search wordcount and add 5 more words if required' do @collage = Collage.new(sample_5_words) @collage.search_words.count.must_equal 10 end it 'should verify the search wordcount and add 8 more words if required' do @collage = Collage.new(sample_2_words) @collage.search_words.count.must_equal 10 end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
flickr_collager-0.0.1 | spec/test_collage.rb |