Displaying 3 results from an estimated 3 matches for "item_test".
2006 Apr 28
5
Ferret failing to rebuild_index - occasionally unable to del
...s I have a setup method as follows to ensure the index is
reset for each test:
def setup
Item.rebuild_index
end
This works fine for the initial few tests but then suddenly fails for
the last few tests when it seems to be failing to delete a file.
Loaded suite E:/rails/thatsprogress/test/unit/item_test
Started
........EEEE
Finished in 8.922 seconds.
1) Error:
test_search_for_count(ItemTest):
Errno::EACCES: Permission denied -
E:/rails/thatsprogress/config/../index/test/Item/_j.cfs
....
Full trace included later.
It consistantly does it at this point, and looks like something is
stopping _j...
2006 Apr 28
0
Ferret failing to rebuild_index - occasionally unable to delete a file (_j.cfs)
...I have a setup method as follows to ensure the index is
reset for each test:
def setup
Item.rebuild_index
end
This works fine for the initial few tests but then suddenly fails for
the last few tests when it seems to be failing to delete a file.
Loaded suite E:/rails/thatsprogress/test/unit/item_test
Started
........EEEE
Finished in 8.922 seconds.
1) Error:
test_search_for_count(ItemTest):
Errno::EACCES: Permission denied -
E:/rails/thatsprogress/config/../index/test/Item/_j.cfs
....
Full trace included later.
It consistantly does it at this point, and looks like something is
stopping _...
2007 Sep 05
2
after_create callback called twice in test env when using fixtures
...t;
end
end
The fixture file:
one:
id: 1
two:
id: 2
The rake run:
# rake test:units
(in /Users/tsaleh/Documents/Programming/svn/bug/trunk)
/opt/local/bin/ruby -Ilib:test "/opt/local/lib/ruby/gems/1.8/gems/
rake-0.7.3/lib/rake/rake_test_loader.rb" "test/unit/item_test.rb"
Loaded suite /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/
rake_test_loader
Started
========================
Doing stuff
Doing stuff
========================
.
Finished in 0.051473 seconds.
1 tests, 0 assertions, 0 failures, 0 errors
Thanks for the help,
Tammer...