spec/lib/metasploit/credential/version_spec.rb in metasploit-credential-0.14.5 vs spec/lib/metasploit/credential/version_spec.rb in metasploit-credential-0.14.6

- old
+ new

@@ -1,8 +1,6 @@ -require 'spec_helper' - -describe Metasploit::Credential::Version do +RSpec.describe Metasploit::Credential::Version do context 'CONSTANTS' do context 'MAJOR' do subject(:major) do described_class::MAJOR end @@ -15,18 +13,18 @@ context 'MINOR' do subject(:minor) do described_class::MINOR end - it { should be_a Integer } + it { is_expected.to be_a Integer } end context 'PATCH' do subject(:patch) do described_class::PATCH end - it { should be_a Integer } + it { is_expected.to be_a Integer } end pull_request = ENV['TRAVIS_PULL_REQUEST'] # a pull request cannot check PRERELEASE because it will be tested in the target branch, but the source itself \ No newline at end of file