Displaying 3 results from an estimated 3 matches for "book_test".
Did you mean:
blob_test
2006 Dec 04
5
ruby on rails ecommerce tests are failing, but why?
i am working through the Beginning Ruby on Rails Ecommerce book and on
page 101 where it is talking about integration tests, i run
test/integration/book_test.rb and it fails giving me the following
error message:
1) Failure:
test_book_administration(BookTest)
[test/integration/book_test.rb:45:in `add_book''
test/integration/book_test.rb:11:in `test_book_administration''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib...
2006 Apr 25
3
rake test:units fails on Postgresql due to nil
Following the directions in:
http://www.xml.com/pub/a/2006/04/19/rest-on-rails.html?page=2
I get through the:
rake db:migrate
With the tables created properly but then when I run the:
rake test:units
I get a failure:
ActiveRecord::StatementInvalid: RuntimeError: ERROR C23502 Mnull
value in column "title" violates not-null constraint FexecMain.c
L1750
2006 Nov 07
1
Memory consumption too high
...s/rails
_rcov.rake" --run-rake-task=test:units
(in D:/dev/src/booksmart)
rcov.cmd -o "D:/dev/src/booksmart/coverage/units" -T -x
"rubygems/*,rcov*" --rai
ls -Ilib;test
"D:/dev/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test
_loader.rb" "test/unit/book_test.rb" "test/unit/cart_test.rb"
"test/unit/credit_
card_test.rb" "test/unit/line_item_test.rb" "test/unit/note_test.rb"
"test/unit/
notifications_test.rb" "test/unit/publisher_test.rb"
"test/unit/purchase_test.rb
" "tes...