File: paths_spec.rb

package info (click to toggle)
ruby-hitimes 3.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 372 kB
  • sloc: ruby: 1,385; makefile: 7
file content (14 lines) | stat: -rw-r--r-- 508 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

require "spec_helper"

describe Hitimes::Paths do
  it "can access the root dir of the project" do
    _(Hitimes::Paths.root_dir).must_equal File.expand_path(File.join(File.dirname(__FILE__), "..")) + File::SEPARATOR
  end

  it "can access the lib path of the project" do
    _(Hitimes::Paths.lib_path).must_equal File.expand_path(File.join(File.dirname(__FILE__), "..",
                                                                     "lib")) + File::SEPARATOR
  end
end