Displaying 1 result from an estimated 1 matches for "resplend".
Did you mean:
resplen
2006 Jul 22
3
test:plugins task dependency on :environment is pointless, surely?
Hello all,
I''ve been doing quite a bit of rooting around the plugin system
recently, and one thing in particularly has me puzzled and bemused. At
the moment, the test:plugins task has a dependency on the :environment
task, thus loading up Rails in all it''s resplendent glory. Once it''s
done this it uses Rake::TestTask to load the tests for every plugin.
However, because of the way that Rake::TestTask works (loading a new
Ruby interpreter which churns through the test cases), the Rails
environment is never actually made available to any plugins. If a...