spec/repository_spec.rb in git_wrapper-1.1.0 vs spec/repository_spec.rb in git_wrapper-1.1.1

- old
+ new

@@ -1007,10 +1007,12 @@ diff.select { |d| d.file_name == File.basename(file_name1) }.first.status.should be :modified diff.select { |d| d.file_name == File.basename(file_name2) }.first.status.should be :modified diff.select { |d| d.file_name == File.basename(file_name3) }.should be_empty diff = repo.diff_tree log[2].commit_hash - diff.should have(0).items + diff.should have(2).items + diff.select { |d| d.file_name == File.basename(file_name1) }.first.status.should be :new_file + diff.select { |d| d.file_name == File.basename(file_name2) }.first.status.should be :new_file end it 'Revert a specific commit' do repo = Repository.new(@file_helper.create_temp_folder) repo.init \ No newline at end of file