Skip to content

Commit

Permalink
whitespace fixes
Browse files Browse the repository at this point in the history
I introduced some improper whitespace
and also cleaning up spaces from others
  • Loading branch information
kbrock committed Jul 10, 2023
1 parent 95a9c5d commit 454c703
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions spec/lib/miq_preloader_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
let(:image) do
FactoryBot.create(:container_image).tap do |image|
FactoryBot.create(
:container,
:container,
:container_image => image,
:container_group => FactoryBot.create(:container_group, :container_node => FactoryBot.create(:container_node))
)
Expand Down Expand Up @@ -222,10 +222,10 @@ def preload_and_map(*args)
it "preloads (object.all).has_many.belongs_to" do
ems = FactoryBot.create(:ems_infra)
FactoryBot.create_list(:vm, 2,
:ext_management_system => ems,
:host => FactoryBot.create(:host, :ext_management_system => ems))
:ext_management_system => ems,
:host => FactoryBot.create(:host, :ext_management_system => ems))
FactoryBot.create(:vm, :ext_management_system => ems,
:host => FactoryBot.create(:host, :ext_management_system => ems))
:host => FactoryBot.create(:host, :ext_management_system => ems))

hosts = nil
vms = nil
Expand Down
6 changes: 3 additions & 3 deletions spec/models/metric/ci_mixin/state_finders_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,11 @@

private

def create_vps(image, ts, containers = [], nodes = [])
def create_vps(image, timestamp, containers = [], nodes = [])
FactoryBot.create(
:vim_performance_state,
:resource => image,
:timestamp => ts,
:resource => image,
:timestamp => timestamp,
:state_data => {
:assoc_ids => {
:containers => {:on => containers.map(&:id), :off => []},
Expand Down

0 comments on commit 454c703

Please sign in to comment.