Sha256: 46333c261bc4fc2813e58185fc2ff4945016cc610ca6217bdfbaf9b966f93d2f
Contents?: true
Size: 863 Bytes
Versions: 1
Compression:
Stored size: 863 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 output file' do ENV.stub!(:[]).with('USER').and_return('user') Helper.output_file.should == '/tmp/user_smilies.output' 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.2 | spec/smilies/helper_spec.rb |