Mailinglist Archive: yast-devel (211 mails)

< Previous Next >
Re: [yast-devel] RSpec is green but... can you spot the problem?
On Mon, Oct 12, 2015 at 01:56:13PM +0200, Arvin Schnell wrote:
On Mon, Oct 12, 2015 at 12:36:54PM +0200, Martin Vidner wrote:

Maybe I can spot the error.

expect { YAML.load_file(filename).to_not raise_error }

expect { YAML.load_file(filename) }.to_not raise_error

How much points do I get?

Correct, you get 863 points!

And Lukas gets to watch what happens with a bug report that I filed
about this:

https://github.com/rspec/rspec-expectations/issues/863

I almost started to fix it but decided to hear the maintainers'
opinion first.
--
Martin Vidner, YaST Team
http://en.opensuse.org/User:Mvidner

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