Permalink
Browse files

Remove deprecated alias for until_date (use until_time) [#102]

  • Loading branch information...
seejohnrun committed Oct 12, 2012
1 parent f90a118 commit 9d9ec93f72b798b78274dd50c57abd17d2cba6b7
Showing with 1 addition and 2 deletions.
  1. +0 −1 lib/ice_cube/validations/until.rb
  2. +1 −1 spec/examples/to_yaml_spec.rb
@@ -8,7 +8,6 @@ module Validations::Until
def until_time
@until
end
- deprecated_alias :until_date, :until_time
def until(time)
@until = time
@@ -261,7 +261,7 @@
offset = time.utc_offset
rule = IceCube::Rule.daily.until(time)
rule = IceCube::Rule.from_yaml(rule.to_yaml)
- rule.until_date.utc_offset.should == offset
+ rule.until_time.utc_offset.should == offset
end
it 'should be able to bring a Rule to_yaml and back with a count' do

0 comments on commit 9d9ec93

Please sign in to comment.