spec/lib/metasploit/credential_spec.rb in metasploit-credential-0.14.6 vs spec/lib/metasploit/credential_spec.rb in metasploit-credential-0.14.7
- old
+ new
@@ -1,13 +1,4 @@
RSpec.describe Metasploit::Credential do
- context 'CONSTANTS' do
- context 'VERSION' do
- subject(:version) do
- described_class::VERSION
- end
-
- it 'is Metasploit::Credential::Version.full' do
- expect(version).to eq(Metasploit::Credential::Version.full)
- end
- end
- end
-end
\ No newline at end of file
+ it_should_behave_like 'Metasploit::Version GEM_VERSION constant'
+ it_should_behave_like 'Metasploit::Version VERSION constant'
+end