spec/models/mdm/user_spec.rb in metasploit-credential-0.14.7 vs spec/models/mdm/user_spec.rb in metasploit-credential-0.14.8
- old
+ new
@@ -1,5 +1,7 @@
-RSpec.describe Mdm::User, type: :model do
+require 'spec_helper'
+
+describe Mdm::User do
context 'associations' do
- it { is_expected.to have_many(:credential_origins).class_name('Metasploit::Credential::Origin::Manual').dependent(:destroy) }
+ it { should have_many(:credential_origins).class_name('Metasploit::Credential::Origin::Manual').dependent(:destroy) }
end
end
\ No newline at end of file