spec/repository_spec.rb in git_wrapper-1.0.1 vs spec/repository_spec.rb in git_wrapper-1.0.2

- old
+ new

@@ -384,9 +384,12 @@ end it 'Get a current branch' do repo = Repository.new(@file_helper.create_temp_folder) repo.init + + repo.current_branch.should eq('master') + @file_helper.create_temp_file(repo.location, 'test') repo.add_all repo.commit('first commit') repo.current_branch.should eq('master') \ No newline at end of file