spec/blazing/cli/create_spec.rb in blazing-0.0.9 vs spec/blazing/cli/create_spec.rb in blazing-0.0.10
- old
+ new
@@ -4,10 +4,10 @@
describe Blazing::CLI::Create do
before :each do
@logger = double('logger', :log => nil, :report => nil)
- @config_generator = Blazing::CLI::Create.new
+ @config_generator = Blazing::CLI::Create.new(['repository_url'])
@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')