metasploit-credential 0.8.3 → 0.8.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -83,6 +83,23 @@ describe Metasploit::Credential::Creation do
83
83
  end
84
84
  end
85
85
 
86
+ context "#create_credential_service" do
87
+ let(:opts) do
88
+ {
89
+ address: '192.168.172.3',
90
+ port: 445,
91
+ service_name: 'smb',
92
+ protocol: 'tcp',
93
+ workspace_id: workspace.id
94
+ }
95
+ end
96
+
97
+ it 'should create an Mdm::Service in state "open"' do
98
+ service = test_object.create_credential_service opts
99
+ service.state.should == "open"
100
+ end
101
+ end
102
+
86
103
  context '#create_credential_origin_service' do
87
104
  it 'creates a Metasploit::Credential::Origin object' do
88
105
  opts = {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metasploit-credential
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.3
4
+ version: 0.8.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luke Imhoff
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-07-30 00:00:00.000000000 Z
12
+ date: 2014-08-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: metasploit-concern