Sha256: c174221819c79f7df39e2806ffd2c09a935300795a889b3941add366f827f488

Contents?: true

Size: 397 Bytes

Versions: 6

Compression:

Stored size: 397 Bytes

Contents

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

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

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
corneal-0.1.5 spec/corneal/cli_spec.rb
corneal-0.1.4 spec/corneal/cli_spec.rb
corneal-0.1.3 spec/corneal/cli_spec.rb
corneal-0.1.2 spec/corneal/cli_spec.rb
corneal-0.1.1 spec/corneal/cli_spec.rb
corneal-0.1.0 spec/corneal/cli_spec.rb