{"action":"created","comment":{"url":"https://api.github.com/repos/RackHD/on-tasks/pulls/comments/45250030","id":45250030,"diff_hunk":"@@ -0,0 +1,36 @@\n+// Copyright 2015, EMC, Inc.\n+/* jshint node:true */\n+\n+'use strict';\n+\n+describe(require('path').basename(__filename), function () {\n+    var base = require('./base-tasks-spec');\n+    //var hogan = require('hogan.js');\n+\n+    base.before(function (context) {\n+        context.taskdefinition = helper.require('/lib/task-data/tasks/delete-raid.js');\n+    });\n+\n+    describe('task-data', function () {\n+        base.examples();\n+    });\n+\n+    describe('task options data', function () {\n+        it('should have an options', function() {\n+            expect(this.taskdefinition).to.have.property('options');\n+            expect(this.taskdefinition.options).to.be.an('Object');\n+        });\n+\n+        it('should have commands option', function() {\n+            expect(this.taskdefinition.options).to.have.property('commands');\n+            expect(this.taskdefinition.options.commands).to.be.an('Array').with.length(1);\n+        });\n+\n+        /*it('command value could be parsed', function() {","path":"spec/lib/task-data/tasks/delete-raid-spec.js","position":29,"original_position":29,"commit_id":"b0636573cedc784bff6273d8a6860577f0745982","original_commit_id":"b0636573cedc784bff6273d8a6860577f0745982","user":{"login":"benbp","id":1020379,"avatar_url":"https://avatars.githubusercontent.com/u/1020379?v=3","gravatar_id":"","url":"https://api.github.com/users/benbp","html_url":"https://github.com/benbp","followers_url":"https://api.github.com/users/benbp/followers","following_url":"https://api.github.com/users/benbp/following{/other_user}","gists_url":"https://api.github.com/users/benbp/gists{/gist_id}","starred_url":"https://api.github.com/users/benbp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benbp/subscriptions","organizations_url":"https://api.github.com/users/benbp/orgs","repos_url":"https://api.github.com/users/benbp/repos","events_url":"https://api.github.com/users/benbp/events{/privacy}","received_events_url":"https://api.github.com/users/benbp/received_events","type":"User","site_admin":false},"body":"Do we want this commented out test?","created_at":"2015-11-18T19:46:13Z","updated_at":"2015-11-18T19:46:13Z","html_url":"https://github.com/RackHD/on-tasks/pull/76#discussion_r45250030","pull_request_url":"https://api.github.com/repos/RackHD/on-tasks/pulls/76","_links":{"self":{"href":"https://api.github.com/repos/RackHD/on-tasks/pulls/comments/45250030"},"html":{"href":"https://github.com/RackHD/on-tasks/pull/76#discussion_r45250030"},"pull_request":{"href":"https://api.github.com/repos/RackHD/on-tasks/pulls/76"}}},"pull_request":{"url":"https://api.github.com/repos/RackHD/on-tasks/pulls/76","id":51065810,"html_url":"https://github.com/RackHD/on-tasks/pull/76","diff_url":"https://github.com/RackHD/on-tasks/pull/76.diff","patch_url":"https://github.com/RackHD/on-tasks/pull/76.patch","issue_url":"https://api.github.com/repos/RackHD/on-tasks/issues/76","number":76,"state":"open","locked":false,"title":"MAG-286 [ORFS-97] Implement RAID creation/deletion in Monorail","user":{"login":"WangWinson","id":14069485,"avatar_url":"https://avatars.githubusercontent.com/u/14069485?v=3","gravatar_id":"","url":"https://api.github.com/users/WangWinson","html_url":"https://github.com/WangWinson","followers_url":"https://api.github.com/users/WangWinson/followers","following_url":"https://api.github.com/users/WangWinson/following{/other_user}","gists_url":"https://api.github.com/users/WangWinson/gists{/gist_id}","starred_url":"https://api.github.com/users/WangWinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WangWinson/subscriptions","organizations_url":"https://api.github.com/users/WangWinson/orgs","repos_url":"https://api.github.com/users/WangWinson/repos","events_url":"https://api.github.com/users/WangWinson/events{/privacy}","received_events_url":"https://api.github.com/users/WangWinson/received_events","type":"User","site_admin":false},"body":"1. Add original Hogan render to support complex template in task render\r\n2. Add Create, Delete RAID tasks\r\n\r\nThis PR is sub story of ORFS-97\r\n\r\n@RackHD/corecommitters @iceiilin @WangWinson @pengz1 @sunnyqianzhang","created_at":"2015-11-18T10:22:35Z","updated_at":"2015-11-18T19:46:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"33fb3ffbad4bb2cb7db5ff77db79016a214d76a6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/RackHD/on-tasks/pulls/76/commits","review_comments_url":"https://api.github.com/repos/RackHD/on-tasks/pulls/76/comments","review_comment_url":"https://api.github.com/repos/RackHD/on-tasks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RackHD/on-tasks/issues/76/comments","statuses_url":"https://api.github.com/repos/RackHD/on-tasks/statuses/b0636573cedc784bff6273d8a6860577f0745982","head":{"label":"WangWinson:feature/create-raid","ref":"feature/create-raid","sha":"b0636573cedc784bff6273d8a6860577f0745982","user":{"login":"WangWinson","id":14069485,"avatar_url":"https://avatars.githubusercontent.com/u/14069485?v=3","gravatar_id":"","url":"https://api.github.com/users/WangWinson","html_url":"https://github.com/WangWinson","followers_url":"https://api.github.com/users/WangWinson/followers","following_url":"https://api.github.com/users/WangWinson/following{/other_user}","gists_url":"https://api.github.com/users/WangWinson/gists{/gist_id}","starred_url":"https://api.github.com/users/WangWinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WangWinson/subscriptions","organizations_url":"https://api.github.com/users/WangWinson/orgs","repos_url":"https://api.github.com/users/WangWinson/repos","events_url":"https://api.github.com/users/WangWinson/events{/privacy}","received_events_url":"https://api.github.com/users/WangWinson/received_events","type":"User","site_admin":false},"repo":{"id":45824521,"name":"on-tasks","full_name":"WangWinson/on-tasks","owner":{"login":"WangWinson","id":14069485,"avatar_url":"https://avatars.githubusercontent.com/u/14069485?v=3","gravatar_id":"","url":"https://api.github.com/users/WangWinson","html_url":"https://github.com/WangWinson","followers_url":"https://api.github.com/users/WangWinson/followers","following_url":"https://api.github.com/users/WangWinson/following{/other_user}","gists_url":"https://api.github.com/users/WangWinson/gists{/gist_id}","starred_url":"https://api.github.com/users/WangWinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WangWinson/subscriptions","organizations_url":"https://api.github.com/users/WangWinson/orgs","repos_url":"https://api.github.com/users/WangWinson/repos","events_url":"https://api.github.com/users/WangWinson/events{/privacy}","received_events_url":"https://api.github.com/users/WangWinson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/WangWinson/on-tasks","description":"","fork":true,"url":"https://api.github.com/repos/WangWinson/on-tasks","forks_url":"https://api.github.com/repos/WangWinson/on-tasks/forks","keys_url":"https://api.github.com/repos/WangWinson/on-tasks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WangWinson/on-tasks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WangWinson/on-tasks/teams","hooks_url":"https://api.github.com/repos/WangWinson/on-tasks/hooks","issue_events_url":"https://api.github.com/repos/WangWinson/on-tasks/issues/events{/number}","events_url":"https://api.github.com/repos/WangWinson/on-tasks/events","assignees_url":"https://api.github.com/repos/WangWinson/on-tasks/assignees{/user}","branches_url":"https://api.github.com/repos/WangWinson/on-tasks/branches{/branch}","tags_url":"https://api.github.com/repos/WangWinson/on-tasks/tags","blobs_url":"https://api.github.com/repos/WangWinson/on-tasks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WangWinson/on-tasks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WangWinson/on-tasks/git/refs{/sha}","trees_url":"https://api.github.com/repos/WangWinson/on-tasks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WangWinson/on-tasks/statuses/{sha}","languages_url":"https://api.github.com/repos/WangWinson/on-tasks/languages","stargazers_url":"https://api.github.com/repos/WangWinson/on-tasks/stargazers","contributors_url":"https://api.github.com/repos/WangWinson/on-tasks/contributors","subscribers_url":"https://api.github.com/repos/WangWinson/on-tasks/subscribers","subscription_url":"https://api.github.com/repos/WangWinson/on-tasks/subscription","commits_url":"https://api.github.com/repos/WangWinson/on-tasks/commits{/sha}","git_commits_url":"https://api.github.com/repos/WangWinson/on-tasks/git/commits{/sha}","comments_url":"https://api.github.com/repos/WangWinson/on-tasks/comments{/number}","issue_comment_url":"https://api.github.com/repos/WangWinson/on-tasks/issues/comments{/number}","contents_url":"https://api.github.com/repos/WangWinson/on-tasks/contents/{+path}","compare_url":"https://api.github.com/repos/WangWinson/on-tasks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WangWinson/on-tasks/merges","archive_url":"https://api.github.com/repos/WangWinson/on-tasks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WangWinson/on-tasks/downloads","issues_url":"https://api.github.com/repos/WangWinson/on-tasks/issues{/number}","pulls_url":"https://api.github.com/repos/WangWinson/on-tasks/pulls{/number}","milestones_url":"https://api.github.com/repos/WangWinson/on-tasks/milestones{/number}","notifications_url":"https://api.github.com/repos/WangWinson/on-tasks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WangWinson/on-tasks/labels{/name}","releases_url":"https://api.github.com/repos/WangWinson/on-tasks/releases{/id}","created_at":"2015-11-09T08:17:51Z","updated_at":"2015-11-09T08:17:53Z","pushed_at":"2015-11-18T15:18:14Z","git_url":"git://github.com/WangWinson/on-tasks.git","ssh_url":"git@github.com:WangWinson/on-tasks.git","clone_url":"https://github.com/WangWinson/on-tasks.git","svn_url":"https://github.com/WangWinson/on-tasks","homepage":null,"size":860,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"RackHD:master","ref":"master","sha":"05db6542e1d11e8c218115a5496b5363fc4caa8f","user":{"login":"RackHD","id":13982662,"avatar_url":"https://avatars.githubusercontent.com/u/13982662?v=3","gravatar_id":"","url":"https://api.github.com/users/RackHD","html_url":"https://github.com/RackHD","followers_url":"https://api.github.com/users/RackHD/followers","following_url":"https://api.github.com/users/RackHD/following{/other_user}","gists_url":"https://api.github.com/users/RackHD/gists{/gist_id}","starred_url":"https://api.github.com/users/RackHD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RackHD/subscriptions","organizations_url":"https://api.github.com/users/RackHD/orgs","repos_url":"https://api.github.com/users/RackHD/repos","events_url":"https://api.github.com/users/RackHD/events{/privacy}","received_events_url":"https://api.github.com/users/RackHD/received_events","type":"Organization","site_admin":false},"repo":{"id":41690099,"name":"on-tasks","full_name":"RackHD/on-tasks","owner":{"login":"RackHD","id":13982662,"avatar_url":"https://avatars.githubusercontent.com/u/13982662?v=3","gravatar_id":"","url":"https://api.github.com/users/RackHD","html_url":"https://github.com/RackHD","followers_url":"https://api.github.com/users/RackHD/followers","following_url":"https://api.github.com/users/RackHD/following{/other_user}","gists_url":"https://api.github.com/users/RackHD/gists{/gist_id}","starred_url":"https://api.github.com/users/RackHD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RackHD/subscriptions","organizations_url":"https://api.github.com/users/RackHD/orgs","repos_url":"https://api.github.com/users/RackHD/repos","events_url":"https://api.github.com/users/RackHD/events{/privacy}","received_events_url":"https://api.github.com/users/RackHD/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RackHD/on-tasks","description":"","fork":false,"url":"https://api.github.com/repos/RackHD/on-tasks","forks_url":"https://api.github.com/repos/RackHD/on-tasks/forks","keys_url":"https://api.github.com/repos/RackHD/on-tasks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RackHD/on-tasks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RackHD/on-tasks/teams","hooks_url":"https://api.github.com/repos/RackHD/on-tasks/hooks","issue_events_url":"https://api.github.com/repos/RackHD/on-tasks/issues/events{/number}","events_url":"https://api.github.com/repos/RackHD/on-tasks/events","assignees_url":"https://api.github.com/repos/RackHD/on-tasks/assignees{/user}","branches_url":"https://api.github.com/repos/RackHD/on-tasks/branches{/branch}","tags_url":"https://api.github.com/repos/RackHD/on-tasks/tags","blobs_url":"https://api.github.com/repos/RackHD/on-tasks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RackHD/on-tasks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RackHD/on-tasks/git/refs{/sha}","trees_url":"https://api.github.com/repos/RackHD/on-tasks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RackHD/on-tasks/statuses/{sha}","languages_url":"https://api.github.com/repos/RackHD/on-tasks/languages","stargazers_url":"https://api.github.com/repos/RackHD/on-tasks/stargazers","contributors_url":"https://api.github.com/repos/RackHD/on-tasks/contributors","subscribers_url":"https://api.github.com/repos/RackHD/on-tasks/subscribers","subscription_url":"https://api.github.com/repos/RackHD/on-tasks/subscription","commits_url":"https://api.github.com/repos/RackHD/on-tasks/commits{/sha}","git_commits_url":"https://api.github.com/repos/RackHD/on-tasks/git/commits{/sha}","comments_url":"https://api.github.com/repos/RackHD/on-tasks/comments{/number}","issue_comment_url":"https://api.github.com/repos/RackHD/on-tasks/issues/comments{/number}","contents_url":"https://api.github.com/repos/RackHD/on-tasks/contents/{+path}","compare_url":"https://api.github.com/repos/RackHD/on-tasks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RackHD/on-tasks/merges","archive_url":"https://api.github.com/repos/RackHD/on-tasks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RackHD/on-tasks/downloads","issues_url":"https://api.github.com/repos/RackHD/on-tasks/issues{/number}","pulls_url":"https://api.github.com/repos/RackHD/on-tasks/pulls{/number}","milestones_url":"https://api.github.com/repos/RackHD/on-tasks/milestones{/number}","notifications_url":"https://api.github.com/repos/RackHD/on-tasks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RackHD/on-tasks/labels{/name}","releases_url":"https://api.github.com/repos/RackHD/on-tasks/releases{/id}","created_at":"2015-08-31T17:29:32Z","updated_at":"2015-11-02T22:55:44Z","pushed_at":"2015-11-18T18:34:36Z","git_url":"git://github.com/RackHD/on-tasks.git","ssh_url":"git@github.com:RackHD/on-tasks.git","clone_url":"https://github.com/RackHD/on-tasks.git","svn_url":"https://github.com/RackHD/on-tasks","homepage":null,"size":878,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":4,"forks":16,"open_issues":4,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RackHD/on-tasks/pulls/76"},"html":{"href":"https://github.com/RackHD/on-tasks/pull/76"},"issue":{"href":"https://api.github.com/repos/RackHD/on-tasks/issues/76"},"comments":{"href":"https://api.github.com/repos/RackHD/on-tasks/issues/76/comments"},"review_comments":{"href":"https://api.github.com/repos/RackHD/on-tasks/pulls/76/comments"},"review_comment":{"href":"https://api.github.com/repos/RackHD/on-tasks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RackHD/on-tasks/pulls/76/commits"},"statuses":{"href":"https://api.github.com/repos/RackHD/on-tasks/statuses/b0636573cedc784bff6273d8a6860577f0745982"}}}}