This is an example of how to write bdd style tests for brunch.io projects and the required setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run with: rake environment elasticsearch:reindex | |
# must have : tire, will_paginate | |
# added multiple classes to reindex | |
namespace :elasticsearch do | |
desc "re-index elasticsearch" | |
task :reindex => :environment do | |
[Place, Time] # <--- CONFIGURE HERE: Provided that you have classes called 'Place and Time which have the necessary Tire callbacks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
modded doubledecode.py | |
Seth Malaki (seth d-o-t malaki a-t gmail d-o-t com) | |
mainly this modification aims to replace special characters with html entities instead. | |
Test status: todo/untested. |