Skip to content

Commit

Permalink
Pin request install to version
Browse files Browse the repository at this point in the history
This fails on centos 6 because its node is too old to support the version of
hawk bumped here request/request#2751, we can still
test the functionality.  This will pull from github, and install a specific tag
version, and we still do the uninstall using the github path.

This should be more stable.
  • Loading branch information
gtmanfred committed Aug 25, 2017
1 parent 253e216 commit ccd2241
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/states/npm.py
Expand Up @@ -40,7 +40,7 @@ def test_npm_install_url_referenced_package(self):
'''
Determine if URL-referenced NPM module can be successfully installed.
'''
ret = self.run_state('npm.installed', name='git://github.com/request/request')
ret = self.run_state('npm.installed', name='request/request#v2.81.1')
self.assertSaltTrueReturn(ret)
ret = self.run_state('npm.removed', name='git://github.com/request/request')
self.assertSaltTrueReturn(ret)
Expand Down

0 comments on commit ccd2241

Please sign in to comment.