Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save waldenraines/a65b91c5984d1fc6645269c3b48f4295 to your computer and use it in GitHub Desktop.
Save waldenraines/a65b91c5984d1fc6645269c3b48f4295 to your computer and use it in GitHub Desktop.
diff --git a/engines/bastion_katello/test/content-views/details/puppet-modules/content-view-puppet-module-names.controller.test.js b/engines/bastion_katello/test/content-views/details/puppet-modules/content-view-puppet-module-names.controller.test.js
index 66c9398..9d44f9c 100644
--- a/engines/bastion_katello/test/content-views/details/puppet-modules/content-view-puppet-module-names.controller.test.js
+++ b/engines/bastion_katello/test/content-views/details/puppet-modules/content-view-puppet-module-names.controller.test.js
@@ -40,7 +40,7 @@ describe('Controller: ContentViewPuppetModuleNamesController', function() {
});
it("Auto completes to puppet modules", function() {
- spyOn(PuppetModule, 'autocomplete').andCallThrough();
+ spyOn(PuppetModule, 'autocomplete').and.callThrough();
$scope.detailsTable.fetchAutocomplete('foobar');
expect(PuppetModule.autocomplete).toHaveBeenCalledWith({'organization_id': 1, search: 'foobar'})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment