#33 open
Jeremy Lightsmith

integration tests required active record gem to be installed in local gem repository

Reported by Jeremy Lightsmith | April 21st, 2008 @ 01:47 PM

test_builder_should_set_RAILS_ENV_to_test_and_invoke_db_migrate_and_test_instead_of_if_these_tasks_are_defined invokes rake like this: ruby -e "require 'rubygems' rescue nil; require 'rake'; load 'C:/work/cruisecontrolrb-trunk/trunk/tasks/cc_build.rake'; ARGV << '--nosearch' << 'cc:build'; Rake.application.run" the cc_build.rake task requires active_record. the test doesn't actually use active_record. seems that any app under test would have to include active record or provide their own builder. perhaps the dummy app under test should include a dummy active record lib so it will pass if a user doesn't have the gem installed locally.

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket

Tags

Pages