# File test/test_tree.rb, line 79 def test_slash_with_commits Git.any_instance.expects(:ls_tree).returns( fixture('ls_tree_commit') ) tree = @r.tree('master') assert_equal 'd35b34c6e931b9da8f6941007a92c9c9a9b0141a', (tree/'bar').id assert_equal '2afb47bcedf21663580d5e6d2f406f08f3f65f19', (tree/'foo').id assert_equal 'f623ee576a09ca491c4a27e48c0dfe04be5f4a2e', (tree/'baz').id end