Skip to content

Commit

Permalink
fixing a comment
Browse files Browse the repository at this point in the history
removing an extra let(:service)
  • Loading branch information
Lance Sanchez committed Oct 3, 2016
1 parent 3a50ec4 commit 7161d18
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion lib/metasploit/credential/creation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def create_credential(opts={})
# @return [NilClass] if there is no active database connection
# @return [Metasploit::Credential::Core]
# @example Reporting a Bruteforced Credential and Login
# create_credential(
# create_credential_and_login(
# origin_type: :service,
# address: '192.168.1.100',
# port: 445,
Expand Down
1 change: 0 additions & 1 deletion spec/lib/metasploit/credential/creation_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@
session: Metasploit::Credential::Origin::Session
}.each_pair do |origin_type, origin_class|
context "Origin[#{origin_type}], Public[Username], Private[Password]" do
let(:service) { FactoryGirl.create(:mdm_service) }
let!(:origin_data) {{
cracked_password: {
originating_core_id: FactoryGirl.create(
Expand Down

0 comments on commit 7161d18

Please sign in to comment.