Skip to content

openintegrity/wikirate

 
 

Repository files navigation

Wagn application code used at Wikirate.org

Steps to make it work

  1. create folders "files","config","public" and "public/assets" under the wikirate root directory.
  2. rake wagn:seed
  3. import the database
  4. bundle exec wagn s

Testing

Paths:

 mod/*/spec                       # rspec tests
 mod/*/features                   # cucumber tests
 mod/*/features/step_definitions  # cucumber step definitions

Run rake wikirate:test:seed to prepare test database.

Start rspec with wagn rspec and cucumber with wagn cucumber. Alternatively, you can use the shorter commands wagn rs and wagn cc

To update the test data from the dev site run

cap staging backup:pull_db
env RAILS_ENV=test rake wikirate:test:update_seed_data

This updates the mysql dump in test/wikiratetest.db that is also used for continuous integration testing. So don't forget to include it in your git commits.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 70.7%
  • JavaScript 13.4%
  • Ruby 6.6%
  • HTML 5.5%
  • CSS 3.6%
  • CoffeeScript 0.1%
  • Gherkin 0.1%