spec/lib/test_gitrepo.rb in treet-0.14.1 vs spec/lib/test_gitrepo.rb in treet-0.15.0
- old
+ new
@@ -65,9 +65,12 @@
johnb.entries.must_equal ['name']
end
it "should fetch data content" do
johnb.to_hash.must_equal load_json('one')
+ johnb.to_hash.must_equal(Treet::Hash.new({:name => {:full => "John Bigbooté"}}))
+ jb2 = Treet::Gitrepo.new(johnb.root, :author => {})
+ jb2.to_hash.must_equal(Treet::Hash.new({:name => {:full => "John Bigbooté"}}))
end
it "should have no tags" do
johnb.tags.must_be_empty
end