spec/lib/metasploit/credential_spec.rb in metasploit-credential-1.0.0.pre.rails.pre.4.0 vs spec/lib/metasploit/credential_spec.rb in metasploit-credential-1.0.0

- old
+ new

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