Moved to new syntax.
This commit is contained in:
parent
b6f7858dd5
commit
39479171a7
1 changed files with 4 additions and 4 deletions
|
@ -223,7 +223,7 @@ class CalendarSubscriptionTest < ActiveSupport::TestCase
|
||||||
calendar_subscriptions = CalendarSubscriptions.new(agent1)
|
calendar_subscriptions = CalendarSubscriptions.new(agent1)
|
||||||
|
|
||||||
ical_file = calendar_subscriptions.all
|
ical_file = calendar_subscriptions.all
|
||||||
cals = Icalendar.parse(ical_file)
|
cals = Icalendar::Calendar.parse(ical_file)
|
||||||
assert_equal(cals.count, 1)
|
assert_equal(cals.count, 1)
|
||||||
cal = cals.first
|
cal = cals.first
|
||||||
assert_equal(cals.count, 1)
|
assert_equal(cals.count, 1)
|
||||||
|
@ -272,7 +272,7 @@ class CalendarSubscriptionTest < ActiveSupport::TestCase
|
||||||
calendar_subscriptions = CalendarSubscriptions.new(agent1)
|
calendar_subscriptions = CalendarSubscriptions.new(agent1)
|
||||||
|
|
||||||
ical_file = calendar_subscriptions.all
|
ical_file = calendar_subscriptions.all
|
||||||
cals = Icalendar.parse(ical_file)
|
cals = Icalendar::Calendar.parse(ical_file)
|
||||||
assert_equal(cals.count, 1)
|
assert_equal(cals.count, 1)
|
||||||
cal = cals.first
|
cal = cals.first
|
||||||
assert_equal(cals.count, 1)
|
assert_equal(cals.count, 1)
|
||||||
|
@ -322,7 +322,7 @@ class CalendarSubscriptionTest < ActiveSupport::TestCase
|
||||||
calendar_subscriptions = CalendarSubscriptions.new(agent2)
|
calendar_subscriptions = CalendarSubscriptions.new(agent2)
|
||||||
|
|
||||||
ical_file = calendar_subscriptions.all
|
ical_file = calendar_subscriptions.all
|
||||||
cals = Icalendar.parse(ical_file)
|
cals = Icalendar::Calendar.parse(ical_file)
|
||||||
assert_equal(cals.count, 1)
|
assert_equal(cals.count, 1)
|
||||||
cal = cals.first
|
cal = cals.first
|
||||||
assert_equal(cals.count, 1)
|
assert_equal(cals.count, 1)
|
||||||
|
@ -367,7 +367,7 @@ class CalendarSubscriptionTest < ActiveSupport::TestCase
|
||||||
calendar_subscriptions = CalendarSubscriptions.new(agent2)
|
calendar_subscriptions = CalendarSubscriptions.new(agent2)
|
||||||
|
|
||||||
ical_file = calendar_subscriptions.all
|
ical_file = calendar_subscriptions.all
|
||||||
cals = Icalendar.parse(ical_file)
|
cals = Icalendar::Calendar.parse(ical_file)
|
||||||
assert_equal(cals.count, 1)
|
assert_equal(cals.count, 1)
|
||||||
cal = cals.first
|
cal = cals.first
|
||||||
assert_equal(cals.count, 1)
|
assert_equal(cals.count, 1)
|
||||||
|
|
Loading…
Reference in a new issue