spec/factories/mdm/sessions.rb in metasploit_data_models-2.0.17 vs spec/factories/mdm/sessions.rb in metasploit_data_models-3.0.0
- old
+ new
@@ -1,6 +1,6 @@
-FactoryGirl.define do
+FactoryBot.define do
factory :mdm_session, :aliases => [:session], :class => Mdm::Session do
#
# Associations
#
association :host, :factory => :mdm_host
@@ -8,6 +8,6 @@
#
# Attributes
#
opened_at { DateTime.now }
end
-end
\ No newline at end of file
+end