diff --git a/HACKING b/HACKING index 46fef5a..065e648 100644 --- a/HACKING +++ b/HACKING @@ -13,7 +13,7 @@ After installing the requirements listed in INSTALL, you need to install some packages be able to run Noosfero tests. On Debian GNU/Linux and Debian-based systems, you install them with the following command: - # apt-get install libtidy-ruby libhpricot-ruby libmocha-ruby imagemagick po4a xvfb + # apt-get install libtidy-ruby libhpricot-ruby libmocha-ruby imagemagick po4a xvfb libxml2-dev libxslt-dev On other systems, they may or may not be available through your regular package management system. Below are the links to their homepages. @@ -24,6 +24,8 @@ management system. Below are the links to their homepages. * Imagemagick: http://wwwimagemagick.org/ * po4a: http://po4a.alioth.debian.org/ * xvfb: http://packages.debian.org/lenny/xvfb +* Libxml2: http://xmlsoft.org/ +* Libxslt: http://xmlsoft.org/xslt == Boostraping a development/test environment @@ -46,6 +48,9 @@ commands and make sure you understand what you are doing): rake makemo # create some test data: ./script/sample-data + # install latest requirements for running tests + RAILS_ENV=cucumber rake gems:install + RAILS_ENV=test rake gems:install # run the automated test suite to make sure your environment is sane: rake test diff --git a/config/environments/cucumber.rb b/config/environments/cucumber.rb index cc00783..80527d9 100644 --- a/config/environments/cucumber.rb +++ b/config/environments/cucumber.rb @@ -21,8 +21,8 @@ config.action_mailer.delivery_method = :test config.gem 'cucumber', :lib => false, :version => '0.4.0' unless File.directory?(File.join(Rails.root, 'vendor/plugins/cucumber')) config.gem 'webrat', :lib => false, :version => '0.5.1' unless File.directory?(File.join(Rails.root, 'vendor/plugins/webrat')) -config.gem 'rspec', :lib => 'spec', :version => '>=1.2.8' unless File.directory?(File.join(Rails.root, 'vendor/plugins/rspec')) -config.gem 'rspec-rails', :lib => 'spec/rails', :version => '>=1.2.7.1' unless File.directory?(File.join(Rails.root, 'vendor/plugins/rspec-rails')) +config.gem 'rspec', :lib => 'spec', :version => '1.2.9' unless File.directory?(File.join(Rails.root, 'vendor/plugins/rspec')) +config.gem 'rspec-rails', :lib => 'spec/rails', :version => '1.2.9' unless File.directory?(File.join(Rails.root, 'vendor/plugins/rspec-rails')) config.gem 'Selenium', :lib => 'selenium', :version => '>= 1.1.14' unless File.directory?(File.join(Rails.root, 'vendor/plugins/selenium')) config.gem 'selenium-client', :lib => 'selenium/client', :version => '>= 1.2.17' unless File.directory?(File.join(Rails.root, 'vendor/plugins/selenium-client')) config.gem 'database_cleaner', :lib => 'database_cleaner' diff --git a/config/environments/test.rb b/config/environments/test.rb index 58850a7..21bfe09 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -20,3 +20,5 @@ config.action_controller.allow_forgery_protection = false # The :test delivery method accumulates sent emails in the # ActionMailer::Base.deliveries array. config.action_mailer.delivery_method = :test + +config.gem 'exception_notification', :lib => 'exception_notification', :version => '1.0.20090728' -- libgit2 0.21.2