Sha256: 5d655cf4cebbc00f5c3cd3227b3f373ed29599137c72f64a2491f349d508da82

Contents?: true

Size: 406 Bytes

Versions: 7

Compression:

Stored size: 406 Bytes

Contents

require 'spec_helper'

describe Shelr do
  it "should have ::APP_NAME defined" do
    Shelr::APP_NAME.should_not be_nil
  end

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

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
shelr-0.11.9 spec/shelr_spec.rb
shelr-0.11.8 spec/shelr_spec.rb
shelr-0.11.7 spec/shelr_spec.rb
shelr-0.11.6 spec/shelr_spec.rb
shelr-0.11.5 spec/shelr_spec.rb
shelr-0.11.4 spec/shelr_spec.rb
shelr-0.11.3 spec/shelr_spec.rb