List Info

Thread: Making Selenium Compatable With Rails 2 (fixtures problem




Making Selenium Compatable With Rails 2 (fixtures problem
user name
2007-12-12 04:35:27
you may be experiencing problems loading the fixtures after
loading to rails 2. Every time you restart the test server,
your fixtures will load but after that they will not.
The problem is that the fixtures are being cached.

Here's the fix:
In fixture_loader.rb
    under the load_fixtures method

This is what needs to be changed

if fixtures.any?
     *Fixtures.reset_cache* #add this line
      Fixtures.create_fixtures fixtures_path, fixtures
end
------------------------------------------------------------
---------
Posted via Jive Forums
http://forums.openqa.org/thread.jsp
a?threadID=11367&messageID=32747#32747

------------------------------------------------------------
---------
To unsubscribe, e-mail:
selenium-on-rails-users-unsubscribeopenqa.org
For additional commands, e-mail:
selenium-on-rails-users-helpopenqa.org


Re: Making Selenium Compatable With Rails 2 (fixtures problem
user name
2008-02-28 16:37:33
Thanks a lot!
This fixed our problem.
------------------------------------------------------------
---------
Posted via Jive Forums
http://forums.openqa.org/thread.jsp
a?threadID=11367&messageID=40146#40146

------------------------------------------------------------
---------
To unsubscribe, e-mail:
selenium-on-rails-users-unsubscribeopenqa.org
For additional commands, e-mail:
selenium-on-rails-users-helpopenqa.org


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )