spec/project_creator_spec.rb in genit-2.0 vs spec/project_creator_spec.rb in genit-2.1

- old
+ new

@@ -3,11 +3,11 @@ require './spec/helper' describe ProjectCreator do before :all do - @project = ProjectCreator.new('spec/project-name', false) + @project = ProjectCreator.new('spec/project-name', false, false) @project.create end after :all do clean_test_repository @@ -24,10 +24,10 @@ b = File.read('spec/project-name/.genit').strip b.should eql a end it "should say it if it cannot create a project" do - project = ProjectCreator.new('/root/project', false) + project = ProjectCreator.new('/root/project', false, false) $stdout.should_receive(:puts).with("Cannot create project...") project.create end it "should create a project file" do