Mailinglist Archive: yast-devel (211 mails)

< Previous Next >
[yast-devel] RSpec is green but... can you spot the problem?
I've made this mistake today:

require "yaml"
describe "WTF" do
it "works" do
filename = "/usr/share/YaST2/data/sndcards.yml"
expect { YAML.load_file(filename).to_not raise_error }

I caught it early because I also ran the test in failing mode
(by making a deliberate syntax error in the YAML file).

Martin Vidner, YaST Team

Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu
< Previous Next >