Sha256: 5be06c7afe74b48153f37988c35da42030b3df46dd932d6f1e4b1580320d2dd2

Contents?: true

Size: 380 Bytes

Versions: 2

Compression:

Stored size: 380 Bytes

Contents

require 'spec_helper'
require 'fileutils'

describe TDiary do
  describe 'LOAD_PATH' do
    before do
      @root_path = File.expand_path(File.dirname(__FILE__) + '/../..')
      @loaded_paths = $LOAD_PATH.map{|path| File.expand_path(path)}
    end

    it "include misc path into load path" do
      expect(@loaded_paths).to be_include @root_path + '/misc/lib'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tdiary-4.1.0 spec/core/tdiary_spec.rb
tdiary-4.1.0.20141126 spec/core/tdiary_spec.rb