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
|