Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

fix unit tests after newsboxes code was updated for pull #842 #958

Merged
merged 1 commit into from Jan 29, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -109,7 +109,7 @@ YUI.add('ShelfController-tests', function(Y, NAME) {
var ac = getAc();
ac.composite = {
done: function(vudata) {
A.areSame(11, vudata.template.tiles.length);
A.areSame(11, vudata.tiles.length);
}
};

Expand All @@ -120,9 +120,9 @@ YUI.add('ShelfController-tests', function(Y, NAME) {
var ac = getAc();
ac.composite = {
done: function(vudata) {
A.areSame('BBC World News', vudata.template.tiles[0].name);
A.areSame('BBC World News', vudata.tiles[0].name);
A.areSame('http://feeds.bbci.co.uk/news/world/rss.xml',
vudata.template.tiles[0].url);
vudata.tiles[0].url);
}
};
controller.index(ac);
Expand All @@ -132,7 +132,7 @@ YUI.add('ShelfController-tests', function(Y, NAME) {
var ac = getAc();
ac.composite = {
done: function(vudata) {
A.areSame('Yahoo! OMG', vudata.template.tiles[7].name);
A.areSame('Yahoo! OMG', vudata.tiles[7].name);
}
};
controller.index(ac);
Expand Down