RSpec.describe Metasploit::Credential::NonreplayableHash, type: :model do
  it_should_behave_like 'Metasploit::Concern.run'

  it { is_expected.to be_a Metasploit::Credential::PasswordHash }

  context 'factories' do
    context 'metasploit_credential_nonreplayable_hash' do
      subject(:metasploit_credential_nonreplayable_hash) do
        FactoryGirl.build(:metasploit_credential_nonreplayable_hash)
      end

      it { is_expected.to be_valid }
    end
  end
end
