spec/blazing/cli/create_spec.rb in blazing-0.0.7 vs spec/blazing/cli/create_spec.rb in blazing-0.0.8

- old
+ new

@@ -4,10 +4,11 @@ describe Blazing::CLI::Create do before :each do @logger = double('logger', :log => nil, :report => nil) - @config_generator = Blazing::CLI::Create.new(@logger) + @config_generator = Blazing::CLI::Create.new + @config_generator.instance_variable_set('@logger', @logger) end it 'knows the source root for its tempate' do Blazing::CLI::Create.source_root.should == File.dirname(__FILE__).gsub('spec', 'lib') end