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
describe "Using a fake server for Ajax", -> | |
server = null | |
beforeEach -> server = sinon.fakeServer.create() | |
afterEach -> server.restore() | |
context "when Ajax succeeds", -> | |
beforeEach -> respondWithJSON("/url/123", 200, '{"city": "Palm Springs"}') | |
it "does stuff", -> | |
server.respond() |
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 bash | |
# | |
# install all of http://github.com/phuibonhoa's TM bundles (OS X only) | |
# | |
echo "Installing bundles..." | |
# backup dir | |
if [ -d ~/desktop/_tm_bundle_backups ]; then rm -rf ~/desktop/_tm_bundle_backups; fi |