Hey James,
Well currently I have been using SVN, and the rakefile just disappeared on
me?
I have found that by renaming the table name in the configuration, that the
testing fails as the fixtures don''t correlate with the table name. If I
was
to modify the fixtures to match the table name, then the code within the
test would fail as well.
Also, I am trying to setup the testing environment on another engine, and
have not had much luck. I keep getting this error:
[root@inimit railsacl_engine]# rake test
(in /home/httpd/vhosts/rails/vendor/plugins/railsacl_engine)
/usr/local/bin/ruby -Ilib:lib
"/usr/local/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/rake_test_loader.rb"
"test/unit/rubyacl_test.r
/home/httpd/vhosts/rails/config/../vendor/rails/activerecord/lib/../../activ
esupport/lib/active_s)
from ./test/unit/../../db/schema.rb:7
from ./test/unit/../../db/schema.rb:5:in `instance_eval''
from
/home/httpd/vhosts/rails/config/../vendor/rails/activerecord/lib/active_reco
rd/schem''
from
/home/httpd/vhosts/rails/config/../vendor/rails/activerecord/lib/active_reco
rd/schem''
from ./test/unit/../../db/schema.rb:5
from
/home/httpd/vhosts/rails/config/../vendor/rails/activerecord/lib/../../activ
esupport''
from
/home/httpd/vhosts/rails/config/../vendor/rails/activerecord/lib/../../activ
esupport''
from ./test/unit/../test_helper.rb:4
from ./test/unit/rubyacl_test.rb:1:in `require''
from ./test/unit/rubyacl_test.rb:1
from
/usr/local/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/rake_test_loader.rb:5:
in `load''
from
/usr/local/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/rake_test_loader.rb:5
from
/usr/local/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/rake_test_loader.rb:5:
in `each''
from
/usr/local/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/rake_test_loader.rb:5
rake aborted!
Command failed with status (1): [/usr/local/bin/ruby -Ilib:lib
"/usr/local/...]
Any help would be greatly appreciated. I was using as much of the
login_engine that I could for the framework, but I can''t seem to setup
a
correct test environment. Possibly if I get the login_engine to test right,
I can replicate it in my own plugin engine.
I am using edge rails with the edge login_engine.
Warmest regards,
Nathan.
--------------------------------------------------------------
Nathaniel S. H. Brown Toll Free 1.877.4.INIMIT
Inimit Innovations Phone 604.724.6624
www.inimit.com Fax 604.444.9942
> -----Original Message-----
> From: rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> [mailto:rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On
Behalf Of James Adam
> Sent: November 10, 2005 4:50 PM
> To: rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> Subject: Re: [Rails] Login Engine Test Fail
>
> Which tests fail? This will help track down the bug... also,
> where are you defining your customer :user_table value?
>
> On 11/11/05, Nathaniel S. H. Brown
<nshb-wgYSSEAWXinQT0dZR+AlfA@public.gmane.org> wrote:
> > The login rake default test seems to fail as it doesn''t take
into
> > account my custom :user_table. I have changed it to use the
> "account"
> > table name, yet it still drops to drop table "users".
> >
> > - Nathan
> >
> > --------------------------------------------------------------
> > Nathaniel S. H. Brown
> > Inimit Innovations Phone 604.724.6624
> > www.inimit.com Toll Free 1.877.4.INIMIT
> >
> > _______________________________________________
> > Rails mailing list
> > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> > http://lists.rubyonrails.org/mailman/listinfo/rails
> >
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>