Package: ruby-rspec-retry / 0.2.0-1~bpo70+1

0002-Remove-non-deterministic-example-from-test-suite.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Bobbio?= <lunar@debian.org>
Date: Wed, 27 Mar 2013 16:37:36 +0100
Subject: Remove non-deterministic example from test suite

---
 spec/lib/rspec/retry_spec.rb |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/spec/lib/rspec/retry_spec.rb b/spec/lib/rspec/retry_spec.rb
index 27b21d2..ac8297b 100644
--- a/spec/lib/rspec/retry_spec.rb
+++ b/spec/lib/rspec/retry_spec.rb
@@ -45,10 +45,6 @@ describe RSpec::Retry do
         count.should == 2
       end
     end
-
-    it 'should success randomly', :retry => 3 do
-      rand(3).should == 1
-    end
   end
 
   describe 'clearing lets' do