Sha256: 6127f47ed5d5cb6553379f0974fc314a46f0ada182db2fa1fc3aca7b219b4248

Contents?: true

Size: 517 Bytes

Versions: 5

Compression:

Stored size: 517 Bytes

Contents

# Test out property parameter functionality
$:.unshift File.join(File.dirname(__FILE__), "..", "lib")

require 'date'
require 'test/unit'
require 'icalendar'

class TestComponent < Test::Unit::TestCase

   # Create a calendar with an event for each test.
   def setup
      @cal = Icalendar::Calendar.new
      @event = Icalendar::Event.new
   end

   def test_property_parameters
      @event.summary = "This is a test summary.", 
        {"ALTREP" => "http://my.language.net", "LANGUAGE" => "SPANISH"}  
   end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
icalendar-0.96.1 test/parameter_test.rb
icalendar-0.96.2 test/parameter_test.rb
icalendar-0.96.3 test/parameter_test.rb
icalendar-0.96.4 test/parameter_test.rb
icalendar-0.96 test/parameter_test.rb