spec/README in ryanb-populator-0.1.0 vs spec/README in ryanb-populator-0.2.1
- old
+ new
@@ -1,16 +1,23 @@
-Running Populator Specs
------------------------
+Running Specs
+-------------
-There are several rake tasks for running the specs.
+To prepare the specs, run this command.
+ script/setup
+
+This will generate the spec/database.yml file. Configure this to work
+with your databases. You can add and remove entries here as well to
+test different databases. A rake task is available to run the specs for
+each database.
+
rake spec # Run specs under all databases
rake spec:mysql # Run specs under mysql
rake spec:sqlite3 # Run specs under sqlite3
+ rake spec:postgresql # Run specs under postgresql
...
-To run the specs under mysql you have to create the database and user.
-See spec/database.yml for specifics.
+Don't forget to create the user and database as necessary. You can do
+so under MySQL with these commands.
CREATE DATABASE populator_test;
GRANT ALL ON populator_test.* TO populator@localhost;
-