Sha256: da969e7895c939914581ffe9a5b2c4bb38b3546336cf5b567a9f640d671413ec

Contents?: true

Size: 588 Bytes

Versions: 1

Compression:

Stored size: 588 Bytes

Contents

require 'smilies/helper'


module Smilies

  describe Helper do

    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.1 spec/smilies/helper_spec.rb