Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update tests. Update referenced thumb in info.json

  • Loading branch information...
commit 7dbf422df8094818410f62680d65e8a2c32ca5fe 1 parent f43c549
Cian Clarke authored
Showing with 5 additions and 5 deletions.
  1. +1 −1  resources/photos/Ireland/info.json
  2. +4 −4 test/tests.js
2  resources/photos/Ireland/info.json
View
@@ -1,5 +1,5 @@
{
"description" : "Photos of Ireland.",
- "thumbnail" : "North%20Coast/_MG_0925.jpg",
+ "thumbnail" : "East%20Coast/_MG_9909.JPG",
"name": "Ireland"
}
8 test/tests.js
View
@@ -37,13 +37,13 @@ gallery.init(galleryParams, function(err, album){
console.log('[gallery] Pass ✓'.green);
var req = {
- params: {
- photo: 'lake.jpg',
- album: 'album1'
- }
+ photo: '_MG_3169.jpg',
+ album: '/Co. Dublin'
};
+
gallery.getPhoto(req, function(err, photo){
console.log('[gallery.getPhoto()] Starting gallery tests'.yellow);
+ console.log(err);
assert.ok(!err);
console.log('[gallery.getPhoto()] Pass ✓'.green);
});
Please sign in to comment.
Something went wrong with that request. Please try again.