This file contains hidden or 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
#!/bin/sh | |
JASMINE_URL="http://localhost:8888/?spec=" | |
if [ -z "$1" ]; then | |
echo "Opening $JASMINE_URL to run all the tests" | |
open "$JASMINE_URL" | |
exit 0 | |
fi |
This file contains hidden or 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
## db/migrate/20130319164401_create_animals.rb | |
class CreateAnimals < ActiveRecord::Migration | |
def change | |
create_table :animals do |t| | |
t.boolean :alive | |
t.timestamps | |
end | |
end | |
end |