test/test_time.rb in schedular-0.1.7 vs test/test_time.rb in schedular-0.1.8

- old
+ new

@@ -8,13 +8,11 @@ @time = Schedular::Time.new :value => Date.civil(2010), :all_day => true end subject { @time } should have_and_belong_to_many :events + should validate_presence_of :value - should 'validate all day not null' - - context 'named scopes' do setup do Schedular::Time.create! :value => DateTime.civil(2010, 1, 1, 10), :duration => 60, :all_day => false Schedular::Time.create! :value => DateTime.civil(2010, 1, 1, 10), :duration => 120, :all_day => false Schedular::Event.create! :dates => 'enero y febrero 2010', :name => 'Evento 2'