Sha256: a11418962e8208dc0ca0074e9067e4af4fa8dcde7d70508617d6f713d6e5a2a4

Contents?: true

Size: 325 Bytes

Versions: 38

Compression:

Stored size: 325 Bytes

Contents

require File.dirname(__FILE__) + '/../spec_helper'

describe Templater::Generator, '#destination_root' do
  it "should be remembered" do
    @generator_class = Class.new(Templater::Generator)
    instance = @generator_class.new('/path/to/destination')
    instance.destination_root.should == '/path/to/destination'
  end
end

Version data entries

38 entries across 37 versions & 3 rubygems

Version Path
middleman-0.13.1 lib/middleman/vendor/gems/ruby/1.8/gems/templater-1.0.0/spec/generator/destination_root_spec.rb
middleman-0.13.1 lib/middleman/vendor/gems/ruby/1.9.1/gems/templater-1.0.0/spec/generator/destination_root_spec.rb
middleman-0.12.2 lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/destination_root_spec.rb
middleman-0.12.1 lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/destination_root_spec.rb
ginst-2009.12.8 vendor/gems/templater-1.0.0/spec/generator/destination_root_spec.rb
middleman-0.12.0.pre3 lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/destination_root_spec.rb
middleman-0.12.0.pre2 lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/destination_root_spec.rb
middleman-0.12.0.pre lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/destination_root_spec.rb
ginst-2009.11.24 vendor/gems/templater-1.0.0/spec/generator/destination_root_spec.rb
ginst-2009.11.23 vendor/gems/templater-1.0.0/spec/generator/destination_root_spec.rb
middleman-0.10.17 vendor/gems/gems/templater-1.0.0/spec/generator/destination_root_spec.rb
middleman-0.10.16 vendor/gems/gems/templater-1.0.0/spec/generator/destination_root_spec.rb
middleman-0.10.15 vendor/gems/gems/templater-1.0.0/spec/generator/destination_root_spec.rb
middleman-0.10.14 vendor/gems/gems/templater-1.0.0/spec/generator/destination_root_spec.rb
ginst-2.0.1 vendor/gems/templater-1.0.0/spec/generator/destination_root_spec.rb
ginst-2.0.0 vendor/gems/templater-1.0.0/spec/generator/destination_root_spec.rb
templater-1.0.0 spec/generator/destination_root_spec.rb
templater-0.1.6 spec/generator/destination_root_spec.rb
templater-0.1.5 spec/generator/destination_root_spec.rb
templater-0.1.2 spec/generator/destination_root_spec.rb