I have checked out from trunk, am on rails 1.1 and ruby 1.8.4 The first problem I ran into was not finding the testing_extensions. I fixed it by changing this line, and adding the "engines" after "lib" require File.join(Engines.config(:root), "engines", "lib", "engines", "testing_extensions") Then I get pretty much all errors, as it does not seem to find the fixtures for the user_engine in the login_engine (that figures but why is it looking there?) Are these known issues or am I just doing stuff wrong? I am running the tests as rake test:plugins. thanks
on 2006-03-29 10:23
on 2006-03-29 15:15
I have the same problem, you have to change the test_helper.rb file from require File.join(Engines.config(:root), "engines", "lib", "engines") to require File.join(Engines.config(:root), "engines", "lib", "engines", "testing_extensions")
on 2006-03-29 23:17
Christophe Gimenez wrote: > I have the same problem, you have to change the test_helper.rb file > from > require File.join(Engines.config(:root), "engines", "lib", "engines") > to > require File.join(Engines.config(:root), "engines", "lib", "engines", > "testing_extensions") Even with that fix (which I already did) virtually every test fails with this.. Fixture::FixtureError: Couldn't find a yaml, csv or standard file to load at ./vendor/plugins/login_engine/test/functional/../fixtures/ (roles_users).
on 2006-03-29 23:59
Jim Morris wrote: > Christophe Gimenez wrote: >> I have the same problem, you have to change the test_helper.rb file >> from >> require File.join(Engines.config(:root), "engines", "lib", "engines") >> to >> require File.join(Engines.config(:root), "engines", "lib", "engines", >> "testing_extensions") > > Even with that fix (which I already did) virtually every test fails with > this.. > > Fixture::FixtureError: Couldn't find a yaml, csv or standard file to > load at ./vendor/plugins/login_engine/test/functional/../fixtures/ > (roles_users). Not for me, all went fine - You must have something wrong elsewhere
on 2006-03-30 08:37
Christophe Gimenez wrote: > Jim Morris wrote: >> Christophe Gimenez wrote: >>> I have the same problem, you have to change the test_helper.rb file >>> from >>> require File.join(Engines.config(:root), "engines", "lib", "engines") >>> to >>> require File.join(Engines.config(:root), "engines", "lib", "engines", >>> "testing_extensions") >> >> Even with that fix (which I already did) virtually every test fails with >> this.. >> >> Fixture::FixtureError: Couldn't find a yaml, csv or standard file to >> load at ./vendor/plugins/login_engine/test/functional/../fixtures/ >> (roles_users). > > Not for me, all went fine - You must have something wrong elsewhere Do you have user engine installed as well? it seems the login engine tests don;t run when the userengine is installed.
on 2006-03-30 09:57
No, I don't use the login engine - For the moment I'm just using few classes and files created by the login generator (I don't like plenty-of-features plugins and plan to write my own login system later), and they works fine.
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.