Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #10594 from rexboy7/fix-bug877903-unittest
Browse files Browse the repository at this point in the history
Bug 877903 - [system] Fix unit test regression for orientation observer
  • Loading branch information
rexboy7 committed Jun 25, 2013
2 parents caedc9f + d8df878 commit 44a7f83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/system/test/unit/orientation_observer_test.js
@@ -1,7 +1,7 @@
'use strict';
requireApp('system/js/orientation_observer.js');

suite('orientation logger >', function() {
suite('orientation observer >', function() {
var subject;
var portraitPrimary = {
beta: -90,
Expand Down Expand Up @@ -82,7 +82,7 @@ suite('orientation logger >', function() {
test('orientation event handler', function() {
for (var key in coordinate) {
subject.handleEvent(makeOrientationEvent(coordinate[key]));
assert.equal(subject.phoneOrientation, key);
assert.equal(subject.deviceOrientation, key);
}
});

Expand Down

0 comments on commit 44a7f83

Please sign in to comment.