Sha256: f24858d45f232ec717c076c97b402ef69e2e9d3e0637f5f60126bd233eb78491
Contents?: true
Size: 530 Bytes
Versions: 3
Compression:
Stored size: 530 Bytes
Contents
require 'spec_helper' describe "Event", "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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
caren-api-0.4.32 | spec/event_slot_spec.rb |
caren-api-0.4.31 | spec/event_slot_spec.rb |
caren-api-0.4.30 | spec/event_slot_spec.rb |