week_of_month 1.2.3.4 → 1.2.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,17 +0,0 @@
1
- #!/bin/env ruby
2
- # encoding: utf-8
3
-
4
- # @author Sachin Singh
5
-
6
- require 'test/unit'
7
- RUBY_VERSION < '1.9' ? require('lib/week_of_month') : require_relative('../../week_of_month')
8
-
9
- class TestYear < Test::Unit::TestCase
10
-
11
- def test_years_between_dates
12
- [Date,Time].each do |klass|
13
- assert_equal 3, klass.years_between_dates(Date.new(2015,11,1),Date.new(2012,11,15))
14
- end
15
- end
16
-
17
- end