Skip to content

Commit

Permalink
Add explicit require for resolve, update params in conversion host co…
Browse files Browse the repository at this point in the history
…nfiguration spec.
  • Loading branch information
Daniel Berger committed Mar 28, 2019
1 parent 6ced3c9 commit f9a1656
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions app/models/conversion_host.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require 'resolv'

class ConversionHost < ApplicationRecord
include NewWithTypeStiMixin
include AuthenticationMixin
Expand Down
2 changes: 1 addition & 1 deletion spec/models/conversion_host/configurations_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
let(:params) do
{
:name => 'transformer',
:resource_type => vm.class.name,
:resource_type => vm.class.base_class.name,
:resource_id => vm.id,
:resource => vm
}
Expand Down

0 comments on commit f9a1656

Please sign in to comment.