test/libdolt/templates/tree_history_test.rb in libdolt-0.7.0 vs test/libdolt/templates/tree_history_test.rb in libdolt-0.8.0

- old
+ new

@@ -81,10 +81,10 @@ }] }] end it "renders JSON" do - data = { "tree" => @tree, "repository" => @repo, "ref" => "master", "path" => "" } + data = { "tree" => @tree, "repository_slug" => @repo, "ref" => "master", "path" => "" } json = @renderer.render(:tree_history, data) assert_equal @tree_array, JSON.parse(json) end end