Sha256: 9711ec47d02116adfc02de8e10358fa727fc83526e07547908d951af42f54b05
Contents?: true
Size: 723 Bytes
Versions: 17
Compression:
Stored size: 723 Bytes
Contents
require 'test_helper' class CollectionTest < Test::Unit::TestCase context 'GeoCerts::Collection' do should 'carry a start_at attribute' do collection = GeoCerts::Collection.new time = Time.now assert_respond_to(collection, :start_at=) assert_respond_to(collection, :start_at) collection.start_at = time assert_equal(time, collection.start_at) end should 'carry an end_at attribute' do collection = GeoCerts::Collection.new time = Time.now assert_respond_to(collection, :end_at=) assert_respond_to(collection, :end_at) collection.end_at = time assert_equal(time, collection.end_at) end end end
Version data entries
17 entries across 17 versions & 1 rubygems