[Rails] Re: How to test a plugin

2009-01-06 Thread Arthur Chan
Wow, Awesome, it works now. Thanks for the quick and useful help. Arthur Frederick Cheung wrote: > On Jan 6, 7:41�am, Arthur Chan > wrote: >> I can run functional test now, thanks!! >> >> A problem I found in running the test is that it does not load the >> route.rb so that it fails in some a

[Rails] Re: How to test a plugin

2009-01-06 Thread Frederick Cheung
On Jan 6, 7:41 am, Arthur Chan wrote: > I can run functional test now, thanks!! > > A problem I found in running the test is that it does not load the > route.rb so that it fails in some action --- e.g. assets_path/_url not > defined. > > Any clue to it is appreciated. > You need to define any

[Rails] Re: How to test a plugin

2009-01-05 Thread Arthur Chan
I can run functional test now, thanks!! A problem I found in running the test is that it does not load the route.rb so that it fails in some action --- e.g. assets_path/_url not defined. Any clue to it is appreciated. Arthur Arthur Chan wrote: > Thanks Fred. > > It seems that the ar_plugin_

[Rails] Re: How to test a plugin

2008-12-04 Thread Arthur Chan
Thanks Fred. It seems that the ar_plugin_skeleton is what I needed. Thanks, Arthur Frederick Cheung wrote: > On Dec 3, 9:13�am, Arthur Chan <[EMAIL PROTECTED]> > wrote: >> Guys, >> >> I've created a plugin, i wanna put my automated test there. >> >> However, I got bad file descriptor error when

[Rails] Re: How to test a plugin

2008-12-03 Thread Frederick Cheung
On Dec 3, 9:13 am, Arthur Chan <[EMAIL PROTECTED]> wrote: > 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