Sha256: 99e167a5ceea71b5b3de6c157c1857626304cc7259fb343bfe5bb685b545359c
Contents?: true
Size: 437 Bytes
Versions: 8
Compression:
Stored size: 437 Bytes
Contents
require 'fakefs' require_relative "../spec_helper" require_relative "../../lib/corneal" describe Corneal::VERSION do subject { Corneal::Generators::AppGenerator } describe "source_root" do it "should return with a full path" do pwd = File.dirname(__FILE__) template_path = pwd.sub 'spec/corneal', 'lib/corneal/generators/app/templates' subject.source_root.must_equal template_path end end end
Version data entries
8 entries across 8 versions & 2 rubygems