Skip to content

Commit

Permalink
Merge remote branch 'lowellk/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
David Brady committed Dec 29, 2010
2 parents d49de3e + f59b1ac commit 029ab9a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ better name, these are called Tours.
* Make a folder called tours and put a file in it called simple.rb. In
it write:

class Simple < Tour
class Simple < Tourist
def test_homepage
visit "http://#{@host}/"
assert_contain "My Home Page"
end
end

* Files in ./tours should have classes that match their names. E.g.
"class BigHairyTest < Tour" belongs in ./tours/big_hairy_test.rb
"class BigHairyTest < Tourist" belongs in ./tours/big_hairy_test.rb

* Think Test::Unit. test_* methods will be found automagically.
setup() and teardown() methods will be executed at the appropriate
Expand Down
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
sudo gem uninstall tourbus
gem uninstall tourbus
gem build tourbus.gemspec
sudo gem install $(ls tourbus*.gem|tail -n 1)
gem install $(ls tourbus*.gem|tail -n 1)
6 changes: 5 additions & 1 deletion lib/common.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@

# TODO: I'd like to remove dependency on Rails. Need to see what all
# we're using (like classify) and remove each dependency individually.
require 'activesupport'
begin
require 'activesupport'
rescue Exception
require 'active_support/all'
end

require 'monitor'
require 'faker'
Expand Down

0 comments on commit 029ab9a

Please sign in to comment.