Sha256: 32f8feba89a7a3f654f63b4be6c10d97ecf0541ff40b00c98596db53a144bb0f

Contents?: true

Size: 617 Bytes

Versions: 1

Compression:

Stored size: 617 Bytes

Contents

require "spec_helper"
require "growl-ampelmaennchen"

describe "Growl::Ampelmaennchen" do
  describe "asset_root" do
    it "returns a String" do
      Growl::Ampelmaennchen.asset_root.should be_kind_of(String)
    end
    
    it "returns the correct String" do
      Growl::Ampelmaennchen.asset_root.should == File.expand_path("../../assets", __FILE__)
    end
  end
  
  %w(blue green grey red yellow).each do |key|
    describe "##{key}" do
      it "returns the correct string" do
        Growl::Ampelmaennchen.send(key).should == File.expand_path("../../assets/#{key}.png", __FILE__)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
growl-ampelmaennchen-1.0.0 spec/growl-ampelmaennchen_spec.rb