Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix DNS writing during installation #859

Merged
merged 1 commit into from Jul 2, 2019

Conversation

imobachgs
Copy link
Contributor

No description provided.

@@ -156,7 +156,7 @@ module Yast
end

it "writes DNS settings" do
expect(dns_writer).to receive(:write).with(yast_config, system_config)
expect(dns_writer).to receive(:write).with(yast_config.dns, system_config.dns)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note for future, this for me looks like overmocking which cause that test does not catch potential issues. I more likely expect here check if something is really written down on fake env.

@imobachgs imobachgs merged commit 55a7b8a into network-ng Jul 2, 2019
@imobachgs imobachgs deleted the network-ng-fix-dns-writing branch July 2, 2019 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants