Skip to content

Commit

Permalink
Merge pull request ManageIQ#4070 from skateman/miq-region-fix
Browse files Browse the repository at this point in the history
Seed MiqRegion in ansible credential and repository controller specs
  • Loading branch information
himdel authored Jun 6, 2018
2 parents dda866a + df2dc05 commit 8d51312
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions spec/controllers/ansible_credential_controller_spec.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
describe AnsibleCredentialController do
before do
EvmSpecHelper.create_guid_miq_server_zone
MiqRegion.seed
login_as FactoryGirl.create(:user_admin)
end

Expand Down
1 change: 1 addition & 0 deletions spec/controllers/ansible_repository_controller_spec.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
describe AnsibleRepositoryController do
before do
EvmSpecHelper.create_guid_miq_server_zone
MiqRegion.seed
login_as FactoryGirl.create(:user_admin)
end

Expand Down

0 comments on commit 8d51312

Please sign in to comment.