Class: Spec::Example::ExampleGroup

Inherits:
Object
  • Object
show all
Defined in:
lib/merb_sequel/rspec/sequel.rb

Instance Method Summary collapse

Instance Method Details

#execute(*args, &block) ⇒ Object



2
3
4
# File 'lib/merb_sequel/rspec/sequel.rb', line 2

def execute(*args, &block)
  Sequel::Model.db.transaction{super(*args, &block); raise Sequel::Error::Rollback}
end