mcollective-test 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/mcollective/test/util.rb +2 -2
  2. metadata +9 -9
@@ -2,7 +2,7 @@ module MCollective
2
2
  module Test
3
3
  module Util
4
4
  def create_facts_mock(factsource)
5
- facts = Mocha::Mock.new
5
+ facts = Mocha::Mock.new('facts')
6
6
  facts.stubs(:get_facts).returns(factsource)
7
7
 
8
8
  factsource.each_pair do |k, v|
@@ -13,7 +13,7 @@ module MCollective
13
13
  end
14
14
 
15
15
  def create_config_mock(config)
16
- cfg = Mocha::Mock.new
16
+ cfg = Mocha::Mock.new('config')
17
17
  cfg.stubs(:configured).returns(true)
18
18
  cfg.stubs(:rpcauthorization).returns(false)
19
19
  cfg.stubs(:main_collective).returns("mcollective")
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mcollective-test
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 3
10
- version: 0.1.3
9
+ - 4
10
+ version: 0.1.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - R.I.Pienaar
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-08-03 00:00:00 +01:00
18
+ date: 2012-03-21 00:00:00 +00:00
19
19
  default_executable:
20
20
  dependencies: []
21
21
 
@@ -29,15 +29,15 @@ extra_rdoc_files: []
29
29
 
30
30
  files:
31
31
  - lib/mcollective/test.rb
32
- - lib/mcollective/test/util.rb
33
- - lib/mcollective/test/matchers/rpc_result_items.rb
32
+ - lib/mcollective/test/local_agent_test.rb
33
+ - lib/mcollective/test/matchers.rb
34
+ - lib/mcollective/test/remote_agent_test.rb
34
35
  - lib/mcollective/test/matchers/rpc_metadata.rb
36
+ - lib/mcollective/test/matchers/rpc_result_items.rb
35
37
  - lib/mcollective/test/matchers/rpc_status.rb
36
38
  - lib/mcollective/test/matchers/application_description.rb
37
- - lib/mcollective/test/remote_agent_test.rb
38
- - lib/mcollective/test/matchers.rb
39
+ - lib/mcollective/test/util.rb
39
40
  - lib/mcollective/test/application_test.rb
40
- - lib/mcollective/test/local_agent_test.rb
41
41
  has_rdoc: true
42
42
  homepage: https://github.com/ripienaar/mcollective-test/
43
43
  licenses: []