From 70dd7bd368214e3445c5710d11c40f2ab7474854 Mon Sep 17 00:00:00 2001 From: Daniel Berger Date: Fri, 1 Mar 2019 11:03:27 -0500 Subject: [PATCH] Fix a couple rubocop warnings. --- spec/models/conversion_host/configurations_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/models/conversion_host/configurations_spec.rb b/spec/models/conversion_host/configurations_spec.rb index dba22b66110..4c1626905f5 100644 --- a/spec/models/conversion_host/configurations_spec.rb +++ b/spec/models/conversion_host/configurations_spec.rb @@ -43,7 +43,7 @@ it "tags the associated resource as expected" do allow(conversion_host).to receive(:enable_conversion_host_role) taggings = conversion_host.resource.taggings - tag_names = taggings.map{ |tagging| tagging.tag.name } + tag_names = taggings.map { |tagging| tagging.tag.name } expect(tag_names).to contain_exactly( '/user/v2v_transformation_host/true', @@ -81,7 +81,7 @@ expect(Notification).to receive(:create).with(expected_notify) conversion_host.disable taggings = conversion_host.resource.taggings - tag_names = taggings.map{ |tagging| tagging.tag.name } + tag_names = taggings.map { |tagging| tagging.tag.name } expect(tag_names).to contain_exactly('/user/v2v_transformation_host/false') end