GitHub PullRequestReviewCommentEvent at 2014-02-14 06:53:13
Repository: gaia
Actor: EragonJ
Payload: {"comment":{"url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/comments/9740630","id":9740630,"diff_hunk":"@@ -0,0 +1,69 @@\n+/* global require, test, setup, marionette */\n+'use strict';\n+var Settings = require('../app/app'),\n+    assert = require('assert');\n+\n+marionette('manipulate screenLock settings', function() {\n+  var client = marionette.client();\n+  var settingsApp;\n+  var screenLockPanel;\n+\n+  setup(function() {\n+    settingsApp = new Settings(client);\n+    settingsApp.launch();\n+    // Navigate to the Bluetooth menu\n+    screenLockPanel = settingsApp.screenLockPanel;\n+  });\n+\n+  test('lockscreen is enabled', function() {\n+    // because default is true\n+    screenLockPanel.toggleScreenLock();\n+    screenLockPanel.toggleScreenLock();\n+    assert.ok(screenLockPanel.isScreenLockEnabled());\n+  });\n+\n+  test('passcode can\\'t be enabled whn passcode is wrong', function() {","path":"apps/settings/test/marionette/tests/screen_lock_settings_test.js","position":25,"original_position":25,"commit_id":"ca4a55931c0821b4f5c4fd5f93d84218c8d75418","original_commit_id":"ca4a55931c0821b4f5c4fd5f93d84218c8d75418","user":{"login":"EragonJ","id":68322,"avatar_url":"https://gravatar.com/avatar/c467be2c8057ee9a73735ee2bd269504?d=https%3A%2F%2Fidenticons.github.com%2Fe806005d0b4c6cf7900fc6ce62f0b6c2.png&r=x","gravatar_id":"c467be2c8057ee9a73735ee2bd269504","url":"https://api.github.com/users/EragonJ","html_url":"https://github.com/EragonJ","followers_url":"https://api.github.com/users/EragonJ/followers","following_url":"https://api.github.com/users/EragonJ/following{/other_user}","gists_url":"https://api.github.com/users/EragonJ/gists{/gist_id}","starred_url":"https://api.github.com/users/EragonJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EragonJ/subscriptions","organizations_url":"https://api.github.com/users/EragonJ/orgs","repos_url":"https://api.github.com/users/EragonJ/repos","events_url":"https://api.github.com/users/EragonJ/events{/privacy}","received_events_url":"https://api.github.com/users/EragonJ/received_events","type":"User","site_admin":false},"body":"??","created_at":"2014-02-14T06:53:13Z","updated_at":"2014-02-14T06:53:13Z","html_url":"https://github.com/mozilla-b2g/gaia/pull/16113#discussion_r9740630","pull_request_url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/16113","_links":{"self":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/comments/9740630"},"html":{"href":"https://github.com/mozilla-b2g/gaia/pull/16113#discussion_r9740630"},"pull_request":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/16113"}}}}