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
endI 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
signature.asc
Description: Digital signature
