diff --git a/README.textile b/README.textile index d3ce01be9..abed54588 100644 --- a/README.textile +++ b/README.textile @@ -19,6 +19,25 @@ h2. Getting Started The "ActiveFedora Console Tour":http://projects.mediashelf.us/wiki/active-fedora/Getting_Started gives you a brief tour through ActiveFedora's features on the command line. +h2. Testing + +In order to run the RSpec tests, you need to have a copy of hydra-jetty running. To do this, download a working copy of hydra-jetty, cd into its root and run +
java -jar start.jar+ +Then open a new terminal and import fedora's demo objects. + +
+export FEDORA_HOME=/path/to/hydra/jetty/fedora/default +$FEDORA_HOME/client/bin/fedora-ingest-demos.sh localhost 8983 fedoraAdmin fedoraAdmin http ++ +Now you're ready to run + ++cd /wherever/active_fedora/is +rake spec ++ h2. LICENSE: Copyright (c) 2009-2010 Matt Zumwalt diff --git a/Rakefile b/Rakefile index 04ef590c8..522e5140c 100644 --- a/Rakefile +++ b/Rakefile @@ -20,6 +20,7 @@ begin gem.add_dependency('xml-simple', '>= 1.0.12') gem.add_dependency('mime-types', '>= 1.16') gem.add_dependency('multipart-post') + gem.add_dependency('nokogiri') gem.add_development_dependency "rspec", ">= 1.2.9" gem.add_development_dependency "mocha", ">= 1.2.9"