Sha256: 7bf64a5eee48920a1162dc7bfc4fb10ff1b924242ff5c4d5d48133e4bc9fee9c

Contents?: true

Size: 699 Bytes

Versions: 1

Compression:

Stored size: 699 Bytes

Contents

require 'smilies/helper'


module Smilies

  describe Helper do

    it 'should give a seperator line of length 80' do
      Helper.seperator_line.length.should == 80
    end

    it 'should give the smilies directory' do
      path = Helper.smilies_directory
      File.directory?(path).should be_true
    end

    it 'should give the green smiley' do
      path = Helper.green_smiley_path
      File.file?(path).should be_true
    end

    it 'should give the yellow smiley' do
      path = Helper.yellow_smiley_path
      File.file?(path).should be_true
    end

    it 'should give the red smiley' do
      path = Helper.red_smiley_path
      File.file?(path).should be_true
    end

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
armin-joellenbeck-smilies-0.0.3 spec/smilies/helper_spec.rb