Displaying 1 result from an estimated 1 matches for "acts_as_fox_test".
2008 Dec 03
5
How to test a plugin
Guys,
I''ve created a plugin, i wanna put my automated test there.
However, I got bad file descriptor error when i run the test like normal
unit test file:
"ruby plugins/acts_as_fox/test/acts_as_fox_test.rb"
How to test a plugin?
Also, is it right to say that I should only put my unit tests (but not
functional test for example) for the plugin in the plugin test folder?
<code for acts_as_fox_test.rb>
require File.join(File.dirname(__FILE__), ''test_helper'')
require...