Update docs to correct an argument.

Update create mock to maintain Ruby 1.8.6 compatibility
This commit is contained in:
Mark VanderVoord
2016-08-11 12:39:50 -04:00
parent eff3a01c7f
commit 0996f5fb55
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -4,5 +4,5 @@ raise "Header file to mock must be specified!" unless ARGV.length >= 1
mock_out = ENV.fetch('MOCK_OUT', './build/test/mocks')
mock_prefix = ENV.fetch('MOCK_PREFIX', 'mock_')
cmock = CMock.new(plugins: [:ignore, :return_thru_ptr], mock_prefix: mock_prefix, mock_path: mock_out)
cmock = CMock.new({:plugins => [:ignore, :return_thru_ptr], :mock_prefix => mock_prefix, :mock_path => mock_out})
cmock.setup_mocks(ARGV[0])