Sha256: b69c24acc3beb45cfb999e402d1f723240768f472940cc7355f56b6160ebfc99

Contents?: true

Size: 389 Bytes

Versions: 3

Compression:

Stored size: 389 Bytes

Contents

require 'fakefs'
require_relative "../spec_helper"
require_relative "../../lib/hazel/cli"

describe Hazel::VERSION do
  subject { Hazel::CLI }

  describe "source_root" do
    it "should return with a full path" do
      pwd           = File.dirname(__FILE__)
      template_path = pwd.sub 'spec/hazel', 'lib/templates'
      subject.source_root.must_equal template_path
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hazel-0.0.8 spec/hazel/cli_spec.rb
hazel-0.0.7 spec/hazel/cli_spec.rb
hazel-0.0.6 spec/hazel/cli_spec.rb