Skip to content

Commit

Permalink
do not use double dashes
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Jun 5, 2017
1 parent 2f3646f commit bd779a3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/cfa/ntp_conf_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,14 @@ def ntp_conf(file)
it "can write multi lines comments from autoyast profiles" do
record = CFA::NtpConf::ServerRecord.new
record.value = "3.pool.ntp.org"
record.comment = "# test comment\n#test comment 2\n#test comment3"
record.comment = "test comment\ntest comment 2\ntest comment3"
ntp.records << record
expect(record.comment).to eq "# test comment\n#test comment 2\n#test comment3"
expect(record.comment).to eq "test comment\ntest comment 2\ntest comment3"
ntp.save
expect(file.content.lines).to include("server 3.pool.ntp.org\n")
expect(file.content.lines).to include("## test comment\n")
expect(file.content.lines).to include("##test comment 2\n")
expect(file.content.lines).to include("##test comment3\n")
expect(file.content.lines).to include("#test comment\n")
expect(file.content.lines).to include("#test comment 2\n")
expect(file.content.lines).to include("#test comment3\n")
end
end

Expand Down

0 comments on commit bd779a3

Please sign in to comment.