Error when running tests on wagn master
Support Ticket
Error when running tests on wagn master+issues
I set up a wagn postgresql development environment with:
git clone ...
bundle install --without mysql
ENGINE=postgres MODE=dev rake wagn:install
vi config/database.yml
rake wagn:create
RELOAD_TEST_DATA=true rake db:test:prepare
Now I find that I cannot run any tests. With "rake cucumber" I get:
Missing codename set (SetID) /full/path/to/lib/cardlib/rules.rb:6 in '<module:Rules>'
With "rake" or "rake test" I get:
With plain "rake" or "rake test" I get:
/full/path/to/card.rb:56:in `const_missing': Missing codename set (SetID)...
(but the rest of the error message is identical).
Am I missing a step? A quick glance at const_missing appears to be defining the const dynamically by finding a card called "set", and if that doesn't exist perhaps there is some database seeding that I need to do?