Skip to content

Commit

Permalink
Some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
joseivanlopez committed Aug 9, 2018
1 parent 2a45f76 commit b035f54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/modules/FtpServer.rb
Expand Up @@ -739,7 +739,7 @@ def Write
# @note For AutoYaST and for command line actions, it uses the old way
# for backward compatibility, see {#write_daemon}. When the service
# is configured by using the UI, it directly saves the service, see
# {Yast2::SystemService#save}.
# Yast2::SystemService#save.
def save_status
if Mode.auto || Mode.commandline
write_daemon
Expand Down
2 changes: 1 addition & 1 deletion test/ftpserver_test.rb
Expand Up @@ -104,7 +104,7 @@ def mock_config(config_path, map)

allow(Yast::Builtins).to receive(:sleep)

allow(Yast2::SystemService).to receive(:new).and_return(service)
allow(Yast2::SystemService).to receive(:find).with("vsftpd").and_return(service)

allow(Yast::Mode).to receive(:auto) { auto }
allow(Yast::Mode).to receive(:commandline) { commandline }
Expand Down

0 comments on commit b035f54

Please sign in to comment.