1 describe('Deck JS Status Indicator', function() {
2 beforeEach(function() {
3 loadFixtures('standard.html');
4 if (Modernizr
.history
) {
5 history
.replaceState({}, "", "#")
8 window
.location
.hash
= '#';
13 it('should show the correct total number of slides', function() {
14 expect($(defaults
.selectors
.statusTotal
)).toHaveText($.deck('getSlides').length
);
17 it('should start at 1 of X', function() {
18 expect($(defaults
.selectors
.statusCurrent
)).toHaveText(1);
21 it('should update to the correct number on slide change', function() {
23 expect($(defaults
.selectors
.statusCurrent
)).toHaveText('3');