Skip to content

Commit

Permalink
add date test
Browse files Browse the repository at this point in the history
  • Loading branch information
shuber committed Jan 21, 2010
1 parent 8b53478 commit 2183fea
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions test/date_test.rb
@@ -0,0 +1,14 @@
require 'test_helper'

class DateTest < Test::Unit::TestCase

context 'a date' do
setup { @date = Time.now.to_date }

should 'have an events attr_accessor' do
assert @date.respond_to?(:events)
assert @date.respond_to?(:events=)
end
end

end

0 comments on commit 2183fea

Please sign in to comment.