Perhaps it would be useful to do some parsing of the messages…
it “should raise an Exception if record is invalid” do
end
expects that block to raise
Thoughts?
-r
Perhaps it would be useful to do some parsing of the messages…
it “should raise an Exception if record is invalid” do
end
Thoughts?
-r
On Wed, Nov 4, 2009 at 4:28 PM, rogerdpack [email protected]
wrote:
Perhaps it would be useful to do some parsing of the messages…
it “should raise an Exception if record is invalid” do
end
expects that block to raise
Thoughts?
Cool idea at first blush, but riddled with problems, not the least of
which
is that there are likely thousands of examples that would suddenly start
failing because they start with “should raise an Exception …” and they
don’t raise an exception
Seems like an interesting idea to explore in a new framework, but
probably
not in RSpec.
Cheers,
David
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs