spec/lib/metasploit/credential_spec.rb in metasploit-credential-0.14.7 vs spec/lib/metasploit/credential_spec.rb in metasploit-credential-0.14.8

- old
+ new

@@ -1,4 +1,15 @@ -RSpec.describe Metasploit::Credential do - it_should_behave_like 'Metasploit::Version GEM_VERSION constant' - it_should_behave_like 'Metasploit::Version VERSION constant' -end +require 'spec_helper' + +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