spec/models/mdm/workspace_spec.rb in metasploit-credential-1.0.0.pre.rails.pre.4.0 vs spec/models/mdm/workspace_spec.rb in metasploit-credential-1.0.0

- old
+ new

@@ -1,7 +1,5 @@ -require 'spec_helper' - -describe Mdm::Workspace do +RSpec.describe Mdm::Workspace, type: :model do context 'associations' do - it { should have_many(:core_credentials).class_name('Metasploit::Credential::Core').dependent(:destroy) } + it { is_expected.to have_many(:core_credentials).class_name('Metasploit::Credential::Core').dependent(:destroy) } end end \ No newline at end of file