On Aug 26, 2007, at 7:22 PM, Michael Klishin wrote:
> Seems that the assertion itself is just obvious
>
> lambda { ... }.should_not raise_error ...
>
> But given the fact environment.rb is loaded well before examples are
> run, is it worth the effort it may take to spec out Rails bootstrap
> pr
Seems that the assertion itself is just obvious
lambda { ... }.should_not raise_error ...
But given the fact environment.rb is loaded well before examples are
run, is it worth the effort it may take to spec out Rails bootstrap process?
Sorry if I do not get your question.
Scott Taylor wrote:
>
How would one write a spec on environment.rb in a rails app?
I was requiring a gem in environment.rb, but received a
"MissingSourceError". Generally, ruby raises a LoadError when it
can't find a gem, but rails overrides this to raise a
MissingSourceError (since rails is expecting a require