In the effort of decoupling Rails from unit specs, you can't have any code that…
In the effort of decoupling Rails from unit specs, you can't have any code that calls `Rails` (since it isn't available). In my unit specs that need Paperclip, I call `Paperclip::Railtie.insert` and all is good :)
Showing
Please
register
or
sign in
to comment