Attempt to fix unexplainably failing specs on travis-ci

This commit is contained in:
2012-04-18 10:00:34 +01:00
parent e5b0aa32ed
commit 9a084d28a0

View File

@@ -53,7 +53,10 @@ describe Redistat::Synchronize do
}
@obj.thread_safe.should be_false # first synchronize call
Redistat::Synchronize.thread_safe = true # second synchronize call
@obj.synchronize { 'foo' } # two synchronize calls, once while checking thread_safe, once to call black
# two synchronize calls, once while checking thread_safe, once to call black
@obj.synchronize do
'foo'
end
end
end