test/integration/adding_test.rb in braid-0.5 vs test/integration/adding_test.rb in braid-0.6
- old
+ new
@@ -22,11 +22,11 @@
output = `diff -U 3 #{File.join(FIXTURE_PATH, file_name)} #{File.join(TMP_PATH, "shiny", file_name)}`
$?.should.be.success
output = `git log --pretty=oneline`.split("\n")
output.length.should == 2
- output[0].should =~ /Braid: Added mirror 'skit1' at '[0-9a-f]{7}'/
+ output[0].should =~ /Braid: Add mirror 'skit1' at '[0-9a-f]{7}'/
end
it "should create .braids and add the mirror to it" do
in_dir(@shiny) do
`#{BRAID_BIN} add --type git #{@skit1}`
@@ -57,10 +57,10 @@
output = `diff -U 3 #{File.join(FIXTURE_PATH, file_name)} #{File.join(TMP_PATH, "shiny", file_name)}`
$?.should.be.success
output = `git log --pretty=oneline`.split("\n")
output.length.should == 2
- output[0].should =~ /Braid: Added mirror 'skit1' at r1/
+ output[0].should =~ /Braid: Add mirror 'skit1' at r1/
end
it "should create .braids and add the mirror to it" do
in_dir(@shiny) do
`#{BRAID_BIN} add --type svn #{@skit1}`