Skip to content
This repository has been archived by the owner on May 1, 2018. It is now read-only.

Commit

Permalink
First basic functional test. It's minuscule, but it finally works!
Browse files Browse the repository at this point in the history
  • Loading branch information
webmat committed Aug 2, 2008
1 parent 46751d8 commit 09b61ca
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions test/functional/grb_test.rb
Expand Up @@ -4,13 +4,20 @@ class GRBTest < Test::Unit::TestCase
include ShouldaFunctionalHelpers

on_a_new_repo do
should "@gh be set" do
assert @gh
puts @gh.inspect
end

in_directory_for :local1 do
puts Dir.pwd
context "creating a branch" do
setup do
run_with "create new_branch"
end

should "create a branch locally" do
assert_branch 'new_branch', :local
end

should "create a branch remotely" do
assert_branch 'new_branch', :remote
end
end
end
end
end

0 comments on commit 09b61ca

Please sign in to comment.