From e8cb7055e8330a9063e88045890dc0e6b75bc74d Mon Sep 17 00:00:00 2001 From: rgrp Date: Wed, 27 Jul 2011 13:58:16 +0100 Subject: [PATCH] [test/view][xs]: minor fix to test broken by change to view template in cset:7ca7298997cd91d81205a922980c504aab838858. --- test/view-test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/view-test.js b/test/view-test.js index 3fcff65..e3fe47b 100644 --- a/test/view-test.js +++ b/test/view-test.js @@ -22,8 +22,8 @@ test("DatasetFullView", function () { }); view.render(); var tmpl = $(view.el); - var title = tmpl.find('.title a').text(); - equals(title, 'A Wonderful Story'); + var tags = tmpl.find('div.tags ul > li').text(); + equals(tags, 'russian'); $('.action-add-resource').click(); var out = tmpl.find('form.resource');