spec/lib/metasploit/credential_spec.rb in metasploit-credential-1.0.1 vs spec/lib/metasploit/credential_spec.rb in metasploit-credential-1.1.0
- old
+ new
@@ -1,4 +1,13 @@
RSpec.describe Metasploit::Credential do
- it_should_behave_like 'Metasploit::Version GEM_VERSION constant'
- it_should_behave_like 'Metasploit::Version VERSION constant'
+ context 'CONSTANTS' do
+ context 'VERSION' do
+ subject(:version) {
+ described_class::VERSION
+ }
+
+ it 'is Metasploit::Credential::Version.full' do
+ expect(version).to eq(Metasploit::Credential::VERSION)
+ end
+ end
+ end
end