Displaying 1 result from an estimated 1 matches for "hackcontrol".
Did you mean:
checkcontrol
2007 Dec 28
0
rspec_autotest testing with the use of the controller Namespaces
Rails2.0 the official support of namespace, making it easier for
people with the usual habit of definition Controller
For example,We define the following Controller
admin/hacks_controller
this class namespace is Admin::HackController
When we use rspec_autotest for testing,Will be following error
no such file to load -- ./spec/views/hacks/../../spec_helper (LoadError)
The wrong reason is very simple.
By default, rspec_autotest the loading path and does not take into
account the issue of naming space, so it is necessary to...