spec/sequel/pervasive_adapter_spec.rb in fossil-0.4.5 vs spec/sequel/pervasive_adapter_spec.rb in fossil-0.4.6
- old
+ new
@@ -13,10 +13,10 @@
# increment the value of fs_visa by one
r = conn.run(Trip.filter(t.pk_hash).update_sql(:fs_visa=>t.fs_visa.succ))
raise(Exception, 'testing do_transaction transactions')
end
### end testing do_transaction
- rescue StandardError => e
+ rescue Exception => e
ensure
r.drop if r
end
# check if the values have changed
Trip.first.fs_visa.should == t.fs_visa