features/step_definitions/edtf_steps.rb in edtf-0.0.9 vs features/step_definitions/edtf_steps.rb in edtf-1.0.0

- old
+ new

@@ -71,10 +71,10 @@ Then /^the interval should include the date "([^"]*)"$/ do |date| @date.should include(Date.parse(date)) end Then /^the interval should cover the date "([^"]*)"$/ do |date| - @date.should cover(Date.parse(date)) + @date.should be_cover(Date.parse(date)) end Then /^the date should be uncertain\? "([^"]*)"$/ do |arg1| @date.uncertain?.should == !!(arg1 =~ /y(es)?/i)