Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Merged
merged 1 commit into from

2 participants

@isao

app no longer has that extra "template" property

@drewfish
Owner

+1

@isao

travis has errors ff/selenium unrelated

@isao isao merged commit 0f55012 into yahoo:develop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
View
8 examples/newsboxes/mojits/Shelf/tests/controller.common-tests.js
@@ -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);
}
};
@@ -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);
@@ -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);
Something went wrong with that request. Please try again.