Skip to content

Commit

Permalink
Fix a couple rubocop warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Berger committed Mar 1, 2019
1 parent 7dd6410 commit 70dd7bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/models/conversion_host/configurations_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 70dd7bd

Please sign in to comment.