Skip to content

Commit

Permalink
Rename factory
Browse files Browse the repository at this point in the history
  • Loading branch information
trosen-r7 committed Feb 26, 2015
1 parent d2e4676 commit cf84e42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/app/models/metasploit_data_models/module_run_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

describe MetasploitDataModels::ModuleRun do

subject(:module_run){FactoryGirl.build(:module_run)}
subject(:module_run){FactoryGirl.build(:metasploit_data_models_module_run)}

context "database columns" do
it { is_expected.to have_db_column(:attempted_at).of_type(:datetime) }
Expand Down
2 changes: 1 addition & 1 deletion spec/factories/module_runs.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FactoryGirl.define do
sequence(:session_id)

factory :module_run, class: MetasploitDataModels::ModuleRun do
factory :metasploit_data_models_module_run, class: MetasploitDataModels::ModuleRun do

association :user, factory: :mdm_user

Expand Down

0 comments on commit cf84e42

Please sign in to comment.