File: 002-skip-rspec2-syntax.patch

package info (click to toggle)
ruby-chronic-duration 0.10.6-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 152 kB
  • ctags: 23
  • sloc: ruby: 485; makefile: 3
file content (20 lines) | stat: -rw-r--r-- 894 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
skip tests using deprecated syntax

Index: ruby-chronic-duration-0.10.6/spec/lib/chronic_duration_spec.rb
===================================================================
--- ruby-chronic-duration-0.10.6.orig/spec/lib/chronic_duration_spec.rb
+++ ruby-chronic-duration-0.10.6/spec/lib/chronic_duration_spec.rb
@@ -57,11 +57,11 @@ describe ChronicDuration do
       ChronicDuration.parse('0', :keep_zero => true).should == 0
     end
 
-    it "should return a float if seconds are in decimals" do
+    xit "should return a float if seconds are in decimals" do
       ChronicDuration.parse('12 mins 3.141 seconds').is_a?(Float).should be_true
     end
 
-    it "should return an integer unless the seconds are in decimals" do
+    xit "should return an integer unless the seconds are in decimals" do
       ChronicDuration.parse('12 mins 3 seconds').is_a?(Integer).should be_true
     end