Procházet zdrojové kódy

more general test calendar cleanup

Adam Shaw před 8 roky
rodič
revize
7aa7612a9d
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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)
 afterEach(function() {
-	$('#calendar,#cal').fullCalendar('destroy'); // common id's for calendars in tests
+	$('.fc').fullCalendar('destroy');
 });