Skip to content

Commit

Permalink
Implement #configuration_script because of virtual_has_one relationship
Browse files Browse the repository at this point in the history
  • Loading branch information
bzwei committed Jan 31, 2018
1 parent 15cab00 commit a6558c4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/models/service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,9 @@ def remove_from_service(parent_service)
parent_service.remove_resource(self)
end

def configuration_script
end

private

def apply_dialog_settings
Expand Down
4 changes: 4 additions & 0 deletions spec/models/service_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -840,4 +840,8 @@ def create_deep_tree
end
end
end

describe '#configuration_script' do
it { expect(subject.configuration_script).to be_nil }
end
end

0 comments on commit a6558c4

Please sign in to comment.