Skip to content

Commit

Permalink
Configure mock with rspec
Browse files Browse the repository at this point in the history
  • Loading branch information
dhoppe committed Oct 19, 2016
1 parent 2f961c6 commit 0221f28
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .msync.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
modulesync_config_version: '0.13.3'
modulesync_config_version: '0.13.4'
2 changes: 2 additions & 0 deletions .sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@
docker_sets:
- set: docker/ubuntu-14.04
- set: docker/centos-7
spec/spec_helper.rb:
mock_with: ':rspec'
1 change: 1 addition & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
default_facts.merge!(YAML.load(File.read(File.expand_path('../default_facts.yml', __FILE__)))) if File.exist?(File.expand_path('../default_facts.yml', __FILE__))
default_facts.merge!(YAML.load(File.read(File.expand_path('../default_module_facts.yml', __FILE__)))) if File.exist?(File.expand_path('../default_module_facts.yml', __FILE__))
c.default_facts = default_facts
c.mock_with :rspec
end

# vim: syntax=ruby

0 comments on commit 0221f28

Please sign in to comment.