Skip to content

Instantly share code, notes, and snippets.

@fairchild
Created October 29, 2008 07:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fairchild/20646 to your computer and use it in GitHub Desktop.
Save fairchild/20646 to your computer and use it in GitHub Desktop.
class Spec::Example::ExampleGroup
def execute(*args, &block)
# DB = Merb::Orms::Sequel.connect
Merb::Orms::Sequel.connect.transaction do
super(*args, &block)
raise Sequel::Error::Rollback
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment