12 Oct
2015
12 Oct
'15
10:36
I've made this mistake today: #!/usr/bin/rspec require "yaml" describe "WTF" do it "works" do filename = "/usr/share/YaST2/data/sndcards.yml" expect { YAML.load_file(filename).to_not raise_error } end end 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 http://en.opensuse.org/User:Mvidner Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu