test/test_git_access.rb in gollum-2.0.0 vs test/test_git_access.rb in gollum-2.1.0

- old
+ new

@@ -16,12 +16,13 @@ test "#tree_map_for caches ref and tree" do assert @access.ref_map.empty? assert @access.tree_map.empty? @access.tree 'master' - assert_equal({"master"=>"1db89ebba7e2c14d93b94ff98cfa3708a4f0d4e3"}, @access.ref_map) + assert_equal({"master"=>"629aa678272b017a4d136d35e77ac94d80b08dc2"}, @access.ref_map) + @access.tree '1db89ebba7e2c14d93b94ff98cfa3708a4f0d4e3' map = @access.tree_map['1db89ebba7e2c14d93b94ff98cfa3708a4f0d4e3'] assert_equal 'Bilbo-Baggins.md', map[0].path assert_equal '', map[0].dir assert_equal map[0].path, map[0].name assert_equal 'Mordor/Eye-Of-Sauron.md', map[3].path @@ -47,6 +48,6 @@ end test "cannot access tree from invalid ref" do assert_equal [], @access.tree('foo') end -end \ No newline at end of file +end