Skip to content

Commit

Permalink
finished tests and cleaned up a few bits
Browse files Browse the repository at this point in the history
Signed-off-by: James Massardo <[email protected]>
  • Loading branch information
jmassardo committed May 26, 2020
1 parent cff0a93 commit cf3a4df
Show file tree
Hide file tree
Showing 4 changed files with 223 additions and 175 deletions.
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
source "https://rubygems.org"

gem "fakefs"

# Specify your gem's dependencies in kitchen-habitat.gemspec
gemspec
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -289,4 +289,4 @@ suites:
verifier:
inspec_tests:
- tests
```
```
1 change: 1 addition & 0 deletions lib/kitchen/provisioner/habitat.rb
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ def run_command

# This little bit figures out what package should be loaded
if config[:install_latest_artifact] || !config[:artifact_name].nil?
# TODO: throw error and bail if there's no artifacts in the results directory
target_pkg = get_artifact_name
target_ident = "#{config[:package_origin]}/#{config[:package_name]}"
# TODO: This is a workaround for windows. The hart file sometimes gets copied to the
Expand Down
Loading

0 comments on commit cf3a4df

Please sign in to comment.