{"action":"created","comment":{"url":"https://api.github.com/repos/seventag/seventag/pulls/comments/66926038","id":66926038,"diff_hunk":"@@ -25,249 +25,151 @@ describe('Unit: Condition service', () => {\n             {\n                 type: 0,\n                 name: 'Page View',\n-                actions: [\n-                    {\n-                        type: 'contains',\n-                        name: 'Contains'\n-                    },\n-                    {\n-                        type: 'not_contains',\n-                        name: 'Not contains'\n-                    },\n-                    {\n-                        type: 'start_with',\n-                        name: 'Start with'\n-                    },\n-                    {\n-                        type: 'ends_with',\n-                        name: 'End with'\n-                    },\n-                    {\n-                        type: 'equals',\n-                        name: 'Equals'\n-                    },\n-                    {\n-                        type: 'not_equals',\n-                        name: 'Not equals'\n-                    },\n-                    {\n-                        type: 'regexp',\n-                        name: 'Regexp'\n-                    },\n-                    {\n-                        type: 'not_start_with',\n-                        name: 'Doesn\\'t start with'\n-                    },\n-                    {\n-                        type: 'not_ends_with',\n-                        name: 'Doesn\\'t end with'\n-                    },\n-                    {\n-                        type: 'not_regexp',\n-                        name: 'Regexp not equals'\n-                    }\n-                ],\n                 variables: [\n                     {\n                         type: 'url',\n                         name: 'Page Url',\n                         options: {\n                             required: false\n-                        }\n+                        },\n+                        actions: [\n+                            {\n+                                type: 'contains',\n+                                name: 'Contains'\n+                            },\n+                            {\n+                                type: 'not_contains',\n+                                name: 'Not contains'\n+                            },\n+                            {\n+                                type: 'start_with',\n+                                name: 'Start with'","path":"src/admin-panel/app/modules/condition/tests/services/Condition.spec.js","position":65,"original_position":65,"commit_id":"34c6fa9a9fc615335e05cba9e34ae4945f85a146","original_commit_id":"34c6fa9a9fc615335e05cba9e34ae4945f85a146","user":{"login":"MarcinMat","id":15210449,"avatar_url":"https://avatars.githubusercontent.com/u/15210449?v=3","gravatar_id":"","url":"https://api.github.com/users/MarcinMat","html_url":"https://github.com/MarcinMat","followers_url":"https://api.github.com/users/MarcinMat/followers","following_url":"https://api.github.com/users/MarcinMat/following{/other_user}","gists_url":"https://api.github.com/users/MarcinMat/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcinMat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcinMat/subscriptions","organizations_url":"https://api.github.com/users/MarcinMat/orgs","repos_url":"https://api.github.com/users/MarcinMat/repos","events_url":"https://api.github.com/users/MarcinMat/events{/privacy}","received_events_url":"https://api.github.com/users/MarcinMat/received_events","type":"User","site_admin":false},"body":"Maybe 'Starts with' ?","created_at":"2016-06-14T08:14:01Z","updated_at":"2016-06-14T08:14:01Z","html_url":"https://github.com/seventag/seventag/pull/585#discussion_r66926038","pull_request_url":"https://api.github.com/repos/seventag/seventag/pulls/585","_links":{"self":{"href":"https://api.github.com/repos/seventag/seventag/pulls/comments/66926038"},"html":{"href":"https://github.com/seventag/seventag/pull/585#discussion_r66926038"},"pull_request":{"href":"https://api.github.com/repos/seventag/seventag/pulls/585"}}},"pull_request":{"url":"https://api.github.com/repos/seventag/seventag/pulls/585","id":73688378,"html_url":"https://github.com/seventag/seventag/pull/585","diff_url":"https://github.com/seventag/seventag/pull/585.diff","patch_url":"https://github.com/seventag/seventag/pull/585.patch","issue_url":"https://api.github.com/repos/seventag/seventag/issues/585","number":585,"state":"open","locked":false,"title":"TM-1323 New on page condition","user":{"login":"marnits","id":2494128,"avatar_url":"https://avatars.githubusercontent.com/u/2494128?v=3","gravatar_id":"","url":"https://api.github.com/users/marnits","html_url":"https://github.com/marnits","followers_url":"https://api.github.com/users/marnits/followers","following_url":"https://api.github.com/users/marnits/following{/other_user}","gists_url":"https://api.github.com/users/marnits/gists{/gist_id}","starred_url":"https://api.github.com/users/marnits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marnits/subscriptions","organizations_url":"https://api.github.com/users/marnits/orgs","repos_url":"https://api.github.com/users/marnits/repos","events_url":"https://api.github.com/users/marnits/events{/privacy}","received_events_url":"https://api.github.com/users/marnits/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-14T06:52:28Z","updated_at":"2016-06-14T08:14:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"689dd56dde03aa51a2b384268e800b3ce0366a1a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/seventag/seventag/pulls/585/commits","review_comments_url":"https://api.github.com/repos/seventag/seventag/pulls/585/comments","review_comment_url":"https://api.github.com/repos/seventag/seventag/pulls/comments{/number}","comments_url":"https://api.github.com/repos/seventag/seventag/issues/585/comments","statuses_url":"https://api.github.com/repos/seventag/seventag/statuses/34c6fa9a9fc615335e05cba9e34ae4945f85a146","head":{"label":"seventag:feature/TM-1338-first-visit-variable","ref":"feature/TM-1338-first-visit-variable","sha":"34c6fa9a9fc615335e05cba9e34ae4945f85a146","user":{"login":"seventag","id":11617285,"avatar_url":"https://avatars.githubusercontent.com/u/11617285?v=3","gravatar_id":"","url":"https://api.github.com/users/seventag","html_url":"https://github.com/seventag","followers_url":"https://api.github.com/users/seventag/followers","following_url":"https://api.github.com/users/seventag/following{/other_user}","gists_url":"https://api.github.com/users/seventag/gists{/gist_id}","starred_url":"https://api.github.com/users/seventag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seventag/subscriptions","organizations_url":"https://api.github.com/users/seventag/orgs","repos_url":"https://api.github.com/users/seventag/repos","events_url":"https://api.github.com/users/seventag/events{/privacy}","received_events_url":"https://api.github.com/users/seventag/received_events","type":"Organization","site_admin":false},"repo":{"id":32939880,"name":"seventag","full_name":"seventag/seventag","owner":{"login":"seventag","id":11617285,"avatar_url":"https://avatars.githubusercontent.com/u/11617285?v=3","gravatar_id":"","url":"https://api.github.com/users/seventag","html_url":"https://github.com/seventag","followers_url":"https://api.github.com/users/seventag/followers","following_url":"https://api.github.com/users/seventag/following{/other_user}","gists_url":"https://api.github.com/users/seventag/gists{/gist_id}","starred_url":"https://api.github.com/users/seventag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seventag/subscriptions","organizations_url":"https://api.github.com/users/seventag/orgs","repos_url":"https://api.github.com/users/seventag/repos","events_url":"https://api.github.com/users/seventag/events{/privacy}","received_events_url":"https://api.github.com/users/seventag/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/seventag/seventag","description":"","fork":false,"url":"https://api.github.com/repos/seventag/seventag","forks_url":"https://api.github.com/repos/seventag/seventag/forks","keys_url":"https://api.github.com/repos/seventag/seventag/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seventag/seventag/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seventag/seventag/teams","hooks_url":"https://api.github.com/repos/seventag/seventag/hooks","issue_events_url":"https://api.github.com/repos/seventag/seventag/issues/events{/number}","events_url":"https://api.github.com/repos/seventag/seventag/events","assignees_url":"https://api.github.com/repos/seventag/seventag/assignees{/user}","branches_url":"https://api.github.com/repos/seventag/seventag/branches{/branch}","tags_url":"https://api.github.com/repos/seventag/seventag/tags","blobs_url":"https://api.github.com/repos/seventag/seventag/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seventag/seventag/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seventag/seventag/git/refs{/sha}","trees_url":"https://api.github.com/repos/seventag/seventag/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seventag/seventag/statuses/{sha}","languages_url":"https://api.github.com/repos/seventag/seventag/languages","stargazers_url":"https://api.github.com/repos/seventag/seventag/stargazers","contributors_url":"https://api.github.com/repos/seventag/seventag/contributors","subscribers_url":"https://api.github.com/repos/seventag/seventag/subscribers","subscription_url":"https://api.github.com/repos/seventag/seventag/subscription","commits_url":"https://api.github.com/repos/seventag/seventag/commits{/sha}","git_commits_url":"https://api.github.com/repos/seventag/seventag/git/commits{/sha}","comments_url":"https://api.github.com/repos/seventag/seventag/comments{/number}","issue_comment_url":"https://api.github.com/repos/seventag/seventag/issues/comments{/number}","contents_url":"https://api.github.com/repos/seventag/seventag/contents/{+path}","compare_url":"https://api.github.com/repos/seventag/seventag/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seventag/seventag/merges","archive_url":"https://api.github.com/repos/seventag/seventag/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seventag/seventag/downloads","issues_url":"https://api.github.com/repos/seventag/seventag/issues{/number}","pulls_url":"https://api.github.com/repos/seventag/seventag/pulls{/number}","milestones_url":"https://api.github.com/repos/seventag/seventag/milestones{/number}","notifications_url":"https://api.github.com/repos/seventag/seventag/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seventag/seventag/labels{/name}","releases_url":"https://api.github.com/repos/seventag/seventag/releases{/id}","deployments_url":"https://api.github.com/repos/seventag/seventag/deployments","created_at":"2015-03-26T16:46:33Z","updated_at":"2016-06-05T22:05:35Z","pushed_at":"2016-06-14T08:04:02Z","git_url":"git://github.com/seventag/seventag.git","ssh_url":"git@github.com:seventag/seventag.git","clone_url":"https://github.com/seventag/seventag.git","svn_url":"https://github.com/seventag/seventag","homepage":null,"size":6238,"stargazers_count":31,"watchers_count":31,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":3,"forks":10,"open_issues":3,"watchers":31,"default_branch":"develop"}},"base":{"label":"seventag:develop","ref":"develop","sha":"4efd718df6b44b6969e6fa107426fba9c3b1fce5","user":{"login":"seventag","id":11617285,"avatar_url":"https://avatars.githubusercontent.com/u/11617285?v=3","gravatar_id":"","url":"https://api.github.com/users/seventag","html_url":"https://github.com/seventag","followers_url":"https://api.github.com/users/seventag/followers","following_url":"https://api.github.com/users/seventag/following{/other_user}","gists_url":"https://api.github.com/users/seventag/gists{/gist_id}","starred_url":"https://api.github.com/users/seventag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seventag/subscriptions","organizations_url":"https://api.github.com/users/seventag/orgs","repos_url":"https://api.github.com/users/seventag/repos","events_url":"https://api.github.com/users/seventag/events{/privacy}","received_events_url":"https://api.github.com/users/seventag/received_events","type":"Organization","site_admin":false},"repo":{"id":32939880,"name":"seventag","full_name":"seventag/seventag","owner":{"login":"seventag","id":11617285,"avatar_url":"https://avatars.githubusercontent.com/u/11617285?v=3","gravatar_id":"","url":"https://api.github.com/users/seventag","html_url":"https://github.com/seventag","followers_url":"https://api.github.com/users/seventag/followers","following_url":"https://api.github.com/users/seventag/following{/other_user}","gists_url":"https://api.github.com/users/seventag/gists{/gist_id}","starred_url":"https://api.github.com/users/seventag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seventag/subscriptions","organizations_url":"https://api.github.com/users/seventag/orgs","repos_url":"https://api.github.com/users/seventag/repos","events_url":"https://api.github.com/users/seventag/events{/privacy}","received_events_url":"https://api.github.com/users/seventag/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/seventag/seventag","description":"","fork":false,"url":"https://api.github.com/repos/seventag/seventag","forks_url":"https://api.github.com/repos/seventag/seventag/forks","keys_url":"https://api.github.com/repos/seventag/seventag/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seventag/seventag/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seventag/seventag/teams","hooks_url":"https://api.github.com/repos/seventag/seventag/hooks","issue_events_url":"https://api.github.com/repos/seventag/seventag/issues/events{/number}","events_url":"https://api.github.com/repos/seventag/seventag/events","assignees_url":"https://api.github.com/repos/seventag/seventag/assignees{/user}","branches_url":"https://api.github.com/repos/seventag/seventag/branches{/branch}","tags_url":"https://api.github.com/repos/seventag/seventag/tags","blobs_url":"https://api.github.com/repos/seventag/seventag/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seventag/seventag/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seventag/seventag/git/refs{/sha}","trees_url":"https://api.github.com/repos/seventag/seventag/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seventag/seventag/statuses/{sha}","languages_url":"https://api.github.com/repos/seventag/seventag/languages","stargazers_url":"https://api.github.com/repos/seventag/seventag/stargazers","contributors_url":"https://api.github.com/repos/seventag/seventag/contributors","subscribers_url":"https://api.github.com/repos/seventag/seventag/subscribers","subscription_url":"https://api.github.com/repos/seventag/seventag/subscription","commits_url":"https://api.github.com/repos/seventag/seventag/commits{/sha}","git_commits_url":"https://api.github.com/repos/seventag/seventag/git/commits{/sha}","comments_url":"https://api.github.com/repos/seventag/seventag/comments{/number}","issue_comment_url":"https://api.github.com/repos/seventag/seventag/issues/comments{/number}","contents_url":"https://api.github.com/repos/seventag/seventag/contents/{+path}","compare_url":"https://api.github.com/repos/seventag/seventag/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seventag/seventag/merges","archive_url":"https://api.github.com/repos/seventag/seventag/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seventag/seventag/downloads","issues_url":"https://api.github.com/repos/seventag/seventag/issues{/number}","pulls_url":"https://api.github.com/repos/seventag/seventag/pulls{/number}","milestones_url":"https://api.github.com/repos/seventag/seventag/milestones{/number}","notifications_url":"https://api.github.com/repos/seventag/seventag/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seventag/seventag/labels{/name}","releases_url":"https://api.github.com/repos/seventag/seventag/releases{/id}","deployments_url":"https://api.github.com/repos/seventag/seventag/deployments","created_at":"2015-03-26T16:46:33Z","updated_at":"2016-06-05T22:05:35Z","pushed_at":"2016-06-14T08:04:02Z","git_url":"git://github.com/seventag/seventag.git","ssh_url":"git@github.com:seventag/seventag.git","clone_url":"https://github.com/seventag/seventag.git","svn_url":"https://github.com/seventag/seventag","homepage":null,"size":6238,"stargazers_count":31,"watchers_count":31,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":3,"forks":10,"open_issues":3,"watchers":31,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/seventag/seventag/pulls/585"},"html":{"href":"https://github.com/seventag/seventag/pull/585"},"issue":{"href":"https://api.github.com/repos/seventag/seventag/issues/585"},"comments":{"href":"https://api.github.com/repos/seventag/seventag/issues/585/comments"},"review_comments":{"href":"https://api.github.com/repos/seventag/seventag/pulls/585/comments"},"review_comment":{"href":"https://api.github.com/repos/seventag/seventag/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/seventag/seventag/pulls/585/commits"},"statuses":{"href":"https://api.github.com/repos/seventag/seventag/statuses/34c6fa9a9fc615335e05cba9e34ae4945f85a146"}}}}
{"actor":{"display_login":"MarcinMat"}}