Skip to content

Commit

Permalink
fix cleanup spec
Browse files Browse the repository at this point in the history
sort dir output for consistency
  • Loading branch information
vitaly committed Jun 1, 2013
1 parent a09486f commit d97a6ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/integration/cleanup_spec.rb
Expand Up @@ -55,7 +55,7 @@
end

it "should NOT remove backups with base having same prefix" do
Dir["#{@dst}/archive/archive-foobar.*"].should == ["#{@dst}/archive/archive-foobar.000001.tar.gz", "#{@dst}/archive/archive-foobar.000002.tar.gz"]
Dir["#{@dst}/archive/archive-foobar.*"].sort.should == ["#{@dst}/archive/archive-foobar.000001.tar.gz", "#{@dst}/archive/archive-foobar.000002.tar.gz"]
end

end

0 comments on commit d97a6ae

Please sign in to comment.