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

Commit

Permalink
Fixed spec that used too much internal state
Browse files Browse the repository at this point in the history
  • Loading branch information
dkubb committed May 21, 2010
1 parent 6a2a973 commit 4d17ca5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/public/dm-transactions_spec.rb
Expand Up @@ -134,8 +134,8 @@ class ::Default
@txn = nil

def doit
@user_model.transaction do
@txn = Thread.current[:dm_transactions].last
@user_model.transaction do |transaction|
@txn = transaction
return
end
end
Expand Down

0 comments on commit 4d17ca5

Please sign in to comment.