Skip to content

Commit

Permalink
checking if any change happens on status
Browse files Browse the repository at this point in the history
not just untried to invalid

MSP-10859
  • Loading branch information
Lance Sanchez committed Jul 28, 2014
1 parent 20816a1 commit ca0dd3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/lib/metasploit/credential/creation_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@
realm_value: untried_login.core.realm.try(:value),
status: Metasploit::Model::Login::Status::INCORRECT
}
expect{ test_object.invalidate_login(opts) }.to_not change{other_login.reload.status}.from(Metasploit::Model::Login::Status::UNTRIED).to(Metasploit::Model::Login::Status::INCORRECT)
expect{ test_object.invalidate_login(opts) }.to_not change{other_login.reload.status}
end
end
end
Expand Down

0 comments on commit ca0dd3b

Please sign in to comment.