require 'spec_helper' describe Metasploit::Model::Module::Platform, # setting the metadata type makes rspec-rails include RSpec::Rails::ModelExampleGroup, which includes a better # be_valid matcher that will print full error messages type: :model do it_should_behave_like 'Metasploit::Model::Module::Platform', namespace_name: 'Dummy' end