Permalink
Browse files

Added a more explicit test that installOrigin is set correctly

  • Loading branch information...
ianb committed Mar 14, 2012
1 parent 06d12d4 commit acfeb00a03c5351a820a60beedefaec3282a6aa6
Showing with 6 additions and 0 deletions.
  1. +6 −0 site/tests/spec/repo_api.html
@@ -198,6 +198,12 @@ <h3>Install a basic application</h3>
receipts: null
}
]
+$ writeln(lastPending.result[0].installOrigin, SERVERS['_primary']);
+> writeln(lastPending.result[0].installOrigin == SERVERS['_primary']);
+> writeln(lastPending.result[0].installOrigin == SERVERS['basic_app']);
+...
+true
+false
</pre>
<h3>Re-install that application with a different manifest</h3>

0 comments on commit acfeb00

Please sign in to comment.