Skip to content

Commit

Permalink
Use my own shoulda best practices
Browse files Browse the repository at this point in the history
  • Loading branch information
webmat committed Nov 14, 2008
1 parent 8cf8191 commit 1b8435d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/helpers/shoulda_functional_helpers.rb
Expand Up @@ -107,7 +107,9 @@ def on_a_repository
@gh.cleanup
end

yield
context '' do
yield
end
end
end

Expand All @@ -122,7 +124,9 @@ def in_a_non_git_directory
@temp_dir.cleanup
end

yield
context '' do
yield
end
end
end
end
Expand Down

0 comments on commit 1b8435d

Please sign in to comment.