Преглед на файлове

more general test calendar cleanup

Adam Shaw преди 8 години
родител
ревизия
7aa7612a9d
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      tests/lib/jasmine-ext.js

+ 2 - 2
tests/lib/jasmine-ext.js

@@ -223,8 +223,8 @@ beforeEach(function() {
 
 
 });
 });
 
 
-// Destroy the calendar afterwards, to prevent memory leaks
+// Destroy all calendars afterwards, to prevent memory leaks
 // (not the best place for this)
 // (not the best place for this)
 afterEach(function() {
 afterEach(function() {
-	$('#calendar,#cal').fullCalendar('destroy'); // common id's for calendars in tests
+	$('.fc').fullCalendar('destroy');
 });
 });