Sha256: 921b0a6ef4744285d004ad15748388fe366944d05c30183f508f056988528d49
Contents?: true
Size: 534 Bytes
Versions: 62
Compression:
Stored size: 534 Bytes
Contents
require 'spec_helper' describe "EventSlot", "converting to xml" do before do @slot_a = Caren::EventSlot.new( :date => Date.today, :start => "10:00", :duration => 3600) @slot_b = Caren::EventSlot.new( :date => Date.today + 1, :start => "10:00", :duration => 7200) end it "should be able to convert an event to valid xml" do @slot_a.should convert_to_valid_caren_xml end it "should be able to convert an array of events to valid xml" do [@slot_a,@slot_b].should convert_to_valid_caren_array_xml end end
Version data entries
62 entries across 62 versions & 1 rubygems