test/integration/updating_test.rb in evilchelu-braid-0.4.13 vs test/integration/updating_test.rb in evilchelu-braid-0.5
- old
+ new
@@ -39,11 +39,11 @@
output = `diff -U 3 #{File.join(FIXTURE_PATH, "skit1.2", file_name)} #{File.join(TMP_PATH, "shiny", "skit1", file_name)}`
$?.should.be.success
output = `git log --pretty=oneline`.split("\n")
output.length.should == 3
- output[0].should =~ /Update mirror 'skit1\/' to '[0-9a-f]{7}'/
+ output[0].should =~ /Braid: Updated mirror 'skit1' to '[0-9a-f]{7}'/
end
end
describe "from a svn repository" do
@@ -77,10 +77,10 @@
output = `diff -U 3 #{File.join(FIXTURE_PATH, "skit1.2", file_name)} #{File.join(TMP_PATH, "shiny", "skit1", file_name)}`
$?.should.be.success
output = `git log --pretty=oneline`.split("\n")
output.length.should == 3
- output[0].should =~ "Update mirror 'skit1/' to r3"
+ output[0].should =~ /Braid: Updated mirror 'skit1' to r3/
end
end
end