Sha256: b549dd1a083e6c897ad837ea8f15e736ab3eb5ade0d6aad2d61329645c42b133

Contents?: true

Size: 408 Bytes

Versions: 8

Compression:

Stored size: 408 Bytes

Contents

require 'spec_helper'

describe Shelr do
  it "should have ::APP_NAME defined" do
    Shelr::APP_NAME.should == 'shelr'
  end

  it "should provide XDG and APP_NAME based ::DATA_DIR" do
    Shelr::DATA_DIR.should == File.join(XDG['DATA_HOME'].to_s, Shelr::APP_NAME)
  end

  it "should provide XDG config path" do
    Shelr::CONFIG_DIR.should == File.join(XDG['CONFIG_HOME'].to_s, Shelr::APP_NAME)
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
shelr-0.11.2 spec/shelr_spec.rb
shelr-0.11.1 spec/shelr_spec.rb
shelr-0.11.0 spec/shelr_spec.rb
shelr-0.10.0 spec/shelr_spec.rb
shelr-0.9.10 spec/shelr_spec.rb
shelr-0.9.9 spec/shelr_spec.rb
shelr-0.9.8 spec/shelr_spec.rb
shelr-0.9.7 spec/shelr_spec.rb