Adding a rails template to help with streamlining testing setup.
Adding a rails template to help with streamlining testing setup.

Also, this includes copying plugin spec/exemplars up to Rails app spec/exemplars
so that they are visible when it is time to run specs, as this was causing some problems.

I did this to get set up:

  rails some-path
  cd some_path
  script/plugin install git://github.com/flogic/flogiston-cms.git
  rake rails:template LOCATION=vendor/plugins/flogiston-cms/templates/test-setup.rb

Then I can run the various rake gems:* commands in the README, then

  rake db:migrate db:test:prepare
  vendor/plugins/flogiston-cms
  spec spec

flogic/flogiston-cms