mirror of
https://github.com/wassname/fullcalendar.git
synced 2026-07-12 00:50:41 +08:00
15 lines
419 B
JavaScript
15 lines
419 B
JavaScript
describe('isRTL', function() {
|
|
|
|
it('has it\'s default value computed differently based off of the language', function() {
|
|
affix('#cal');
|
|
$('#cal').fullCalendar({
|
|
lang: 'ar' // Arabic is RTL
|
|
});
|
|
var isRTL = $('#cal').fullCalendar('option', 'isRTL');
|
|
expect(isRTL).toEqual(true);
|
|
});
|
|
|
|
// NOTE: don't put tests related to other options in here!
|
|
// Put them in the test file for the individual option!
|
|
|
|
}); |