{"action":"created","comment":{"url":"https://api.github.com/repos/guard/guard/pulls/comments/23470005","id":23470005,"diff_hunk":"@@ -41,4 +41,42 @@\n       end\n     end\n   end\n+\n+  describe \"backward compatibility\" do\n+    let(:notifier) { instance_double(\"Notiffany::Notifier\") }\n+\n+    before do\n+      allow(Notiffany::Notifier).to receive(:new).and_return(notifier)\n+    end\n+\n+    after do\n+      Guard::Notifier.instance_variable_set(:@notifier, nil)\n+    end\n+\n+    context \"multiple parameters\" do\n+      before do\n+        subject.connect\n+        allow(notifier).to receive(:notify)\n+          .with(\"A\", { priority: 2, image: :failed }).and_return(true)\n+      end\n+\n+      it \"supports multiple parameters\" do\n+        expect(notifier).to receive(:notify)\n+        subject.notify(\"A\", { priority: 2, image: :failed })\n+      end\n+    end\n+\n+    context \"single parameter\" do","path":"spec/lib/guard/notifier_spec.rb","position":29,"original_position":29,"commit_id":"4f0223e57af63438c23fc53995214ddf5eea4edb","original_commit_id":"4f0223e57af63438c23fc53995214ddf5eea4edb","user":{"login":"e2","id":150197,"avatar_url":"https://avatars.githubusercontent.com/u/150197?v=3","gravatar_id":"","url":"https://api.github.com/users/e2","html_url":"https://github.com/e2","followers_url":"https://api.github.com/users/e2/followers","following_url":"https://api.github.com/users/e2/following{/other_user}","gists_url":"https://api.github.com/users/e2/gists{/gist_id}","starred_url":"https://api.github.com/users/e2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e2/subscriptions","organizations_url":"https://api.github.com/users/e2/orgs","repos_url":"https://api.github.com/users/e2/repos","events_url":"https://api.github.com/users/e2/events{/privacy}","received_events_url":"https://api.github.com/users/e2/received_events","type":"User","site_admin":false},"body":"I'd call this \"with no options\" and the `it` block simply \"it notifies\".","created_at":"2015-01-23T18:42:58Z","updated_at":"2015-01-23T18:42:58Z","html_url":"https://github.com/guard/guard/pull/731#discussion_r23470005","pull_request_url":"https://api.github.com/repos/guard/guard/pulls/731","_links":{"self":{"href":"https://api.github.com/repos/guard/guard/pulls/comments/23470005"},"html":{"href":"https://github.com/guard/guard/pull/731#discussion_r23470005"},"pull_request":{"href":"https://api.github.com/repos/guard/guard/pulls/731"}}},"pull_request":{"url":"https://api.github.com/repos/guard/guard/pulls/731","id":27941092,"html_url":"https://github.com/guard/guard/pull/731","diff_url":"https://github.com/guard/guard/pull/731.diff","patch_url":"https://github.com/guard/guard/pull/731.patch","issue_url":"https://api.github.com/repos/guard/guard/issues/731","number":731,"state":"open","locked":false,"title":"closes #729 - test for PR: #728","user":{"login":"zoras","id":365783,"avatar_url":"https://avatars.githubusercontent.com/u/365783?v=3","gravatar_id":"","url":"https://api.github.com/users/zoras","html_url":"https://github.com/zoras","followers_url":"https://api.github.com/users/zoras/followers","following_url":"https://api.github.com/users/zoras/following{/other_user}","gists_url":"https://api.github.com/users/zoras/gists{/gist_id}","starred_url":"https://api.github.com/users/zoras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zoras/subscriptions","organizations_url":"https://api.github.com/users/zoras/orgs","repos_url":"https://api.github.com/users/zoras/repos","events_url":"https://api.github.com/users/zoras/events{/privacy}","received_events_url":"https://api.github.com/users/zoras/received_events","type":"User","site_admin":false},"body":"test for PR: #728","created_at":"2015-01-23T17:39:16Z","updated_at":"2015-01-23T18:42:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"591427c0e5f3a40494f8b5cae72ffce1c0ff1d60","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/guard/guard/pulls/731/commits","review_comments_url":"https://api.github.com/repos/guard/guard/pulls/731/comments","review_comment_url":"https://api.github.com/repos/guard/guard/pulls/comments/{number}","comments_url":"https://api.github.com/repos/guard/guard/issues/731/comments","statuses_url":"https://api.github.com/repos/guard/guard/statuses/4f0223e57af63438c23fc53995214ddf5eea4edb","head":{"label":"zoras:729_test_for_notify_parameters","ref":"729_test_for_notify_parameters","sha":"4f0223e57af63438c23fc53995214ddf5eea4edb","user":{"login":"zoras","id":365783,"avatar_url":"https://avatars.githubusercontent.com/u/365783?v=3","gravatar_id":"","url":"https://api.github.com/users/zoras","html_url":"https://github.com/zoras","followers_url":"https://api.github.com/users/zoras/followers","following_url":"https://api.github.com/users/zoras/following{/other_user}","gists_url":"https://api.github.com/users/zoras/gists{/gist_id}","starred_url":"https://api.github.com/users/zoras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zoras/subscriptions","organizations_url":"https://api.github.com/users/zoras/orgs","repos_url":"https://api.github.com/users/zoras/repos","events_url":"https://api.github.com/users/zoras/events{/privacy}","received_events_url":"https://api.github.com/users/zoras/received_events","type":"User","site_admin":false},"repo":{"id":29742187,"name":"guard","full_name":"zoras/guard","owner":{"login":"zoras","id":365783,"avatar_url":"https://avatars.githubusercontent.com/u/365783?v=3","gravatar_id":"","url":"https://api.github.com/users/zoras","html_url":"https://github.com/zoras","followers_url":"https://api.github.com/users/zoras/followers","following_url":"https://api.github.com/users/zoras/following{/other_user}","gists_url":"https://api.github.com/users/zoras/gists{/gist_id}","starred_url":"https://api.github.com/users/zoras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zoras/subscriptions","organizations_url":"https://api.github.com/users/zoras/orgs","repos_url":"https://api.github.com/users/zoras/repos","events_url":"https://api.github.com/users/zoras/events{/privacy}","received_events_url":"https://api.github.com/users/zoras/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zoras/guard","description":"Guard is a command line tool to easily handle events on file system modifications.","fork":true,"url":"https://api.github.com/repos/zoras/guard","forks_url":"https://api.github.com/repos/zoras/guard/forks","keys_url":"https://api.github.com/repos/zoras/guard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zoras/guard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zoras/guard/teams","hooks_url":"https://api.github.com/repos/zoras/guard/hooks","issue_events_url":"https://api.github.com/repos/zoras/guard/issues/events{/number}","events_url":"https://api.github.com/repos/zoras/guard/events","assignees_url":"https://api.github.com/repos/zoras/guard/assignees{/user}","branches_url":"https://api.github.com/repos/zoras/guard/branches{/branch}","tags_url":"https://api.github.com/repos/zoras/guard/tags","blobs_url":"https://api.github.com/repos/zoras/guard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zoras/guard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zoras/guard/git/refs{/sha}","trees_url":"https://api.github.com/repos/zoras/guard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zoras/guard/statuses/{sha}","languages_url":"https://api.github.com/repos/zoras/guard/languages","stargazers_url":"https://api.github.com/repos/zoras/guard/stargazers","contributors_url":"https://api.github.com/repos/zoras/guard/contributors","subscribers_url":"https://api.github.com/repos/zoras/guard/subscribers","subscription_url":"https://api.github.com/repos/zoras/guard/subscription","commits_url":"https://api.github.com/repos/zoras/guard/commits{/sha}","git_commits_url":"https://api.github.com/repos/zoras/guard/git/commits{/sha}","comments_url":"https://api.github.com/repos/zoras/guard/comments{/number}","issue_comment_url":"https://api.github.com/repos/zoras/guard/issues/comments/{number}","contents_url":"https://api.github.com/repos/zoras/guard/contents/{+path}","compare_url":"https://api.github.com/repos/zoras/guard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zoras/guard/merges","archive_url":"https://api.github.com/repos/zoras/guard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zoras/guard/downloads","issues_url":"https://api.github.com/repos/zoras/guard/issues{/number}","pulls_url":"https://api.github.com/repos/zoras/guard/pulls{/number}","milestones_url":"https://api.github.com/repos/zoras/guard/milestones{/number}","notifications_url":"https://api.github.com/repos/zoras/guard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zoras/guard/labels{/name}","releases_url":"https://api.github.com/repos/zoras/guard/releases{/id}","created_at":"2015-01-23T16:46:14Z","updated_at":"2015-01-23T16:46:15Z","pushed_at":"2015-01-23T18:14:53Z","git_url":"git://github.com/zoras/guard.git","ssh_url":"git@github.com:zoras/guard.git","clone_url":"https://github.com/zoras/guard.git","svn_url":"https://github.com/zoras/guard","homepage":"http://guardgem.org","size":7298,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"guard:master","ref":"master","sha":"9bb6fce81290950120e2069385248c764b0f8dd4","user":{"login":"guard","id":351846,"avatar_url":"https://avatars.githubusercontent.com/u/351846?v=3","gravatar_id":"","url":"https://api.github.com/users/guard","html_url":"https://github.com/guard","followers_url":"https://api.github.com/users/guard/followers","following_url":"https://api.github.com/users/guard/following{/other_user}","gists_url":"https://api.github.com/users/guard/gists{/gist_id}","starred_url":"https://api.github.com/users/guard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guard/subscriptions","organizations_url":"https://api.github.com/users/guard/orgs","repos_url":"https://api.github.com/users/guard/repos","events_url":"https://api.github.com/users/guard/events{/privacy}","received_events_url":"https://api.github.com/users/guard/received_events","type":"Organization","site_admin":false},"repo":{"id":812610,"name":"guard","full_name":"guard/guard","owner":{"login":"guard","id":351846,"avatar_url":"https://avatars.githubusercontent.com/u/351846?v=3","gravatar_id":"","url":"https://api.github.com/users/guard","html_url":"https://github.com/guard","followers_url":"https://api.github.com/users/guard/followers","following_url":"https://api.github.com/users/guard/following{/other_user}","gists_url":"https://api.github.com/users/guard/gists{/gist_id}","starred_url":"https://api.github.com/users/guard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guard/subscriptions","organizations_url":"https://api.github.com/users/guard/orgs","repos_url":"https://api.github.com/users/guard/repos","events_url":"https://api.github.com/users/guard/events{/privacy}","received_events_url":"https://api.github.com/users/guard/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guard/guard","description":"Guard is a command line tool to easily handle events on file system modifications.","fork":false,"url":"https://api.github.com/repos/guard/guard","forks_url":"https://api.github.com/repos/guard/guard/forks","keys_url":"https://api.github.com/repos/guard/guard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guard/guard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guard/guard/teams","hooks_url":"https://api.github.com/repos/guard/guard/hooks","issue_events_url":"https://api.github.com/repos/guard/guard/issues/events{/number}","events_url":"https://api.github.com/repos/guard/guard/events","assignees_url":"https://api.github.com/repos/guard/guard/assignees{/user}","branches_url":"https://api.github.com/repos/guard/guard/branches{/branch}","tags_url":"https://api.github.com/repos/guard/guard/tags","blobs_url":"https://api.github.com/repos/guard/guard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guard/guard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guard/guard/git/refs{/sha}","trees_url":"https://api.github.com/repos/guard/guard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guard/guard/statuses/{sha}","languages_url":"https://api.github.com/repos/guard/guard/languages","stargazers_url":"https://api.github.com/repos/guard/guard/stargazers","contributors_url":"https://api.github.com/repos/guard/guard/contributors","subscribers_url":"https://api.github.com/repos/guard/guard/subscribers","subscription_url":"https://api.github.com/repos/guard/guard/subscription","commits_url":"https://api.github.com/repos/guard/guard/commits{/sha}","git_commits_url":"https://api.github.com/repos/guard/guard/git/commits{/sha}","comments_url":"https://api.github.com/repos/guard/guard/comments{/number}","issue_comment_url":"https://api.github.com/repos/guard/guard/issues/comments/{number}","contents_url":"https://api.github.com/repos/guard/guard/contents/{+path}","compare_url":"https://api.github.com/repos/guard/guard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guard/guard/merges","archive_url":"https://api.github.com/repos/guard/guard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guard/guard/downloads","issues_url":"https://api.github.com/repos/guard/guard/issues{/number}","pulls_url":"https://api.github.com/repos/guard/guard/pulls{/number}","milestones_url":"https://api.github.com/repos/guard/guard/milestones{/number}","notifications_url":"https://api.github.com/repos/guard/guard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guard/guard/labels{/name}","releases_url":"https://api.github.com/repos/guard/guard/releases{/id}","created_at":"2010-08-02T16:26:44Z","updated_at":"2015-01-23T06:01:12Z","pushed_at":"2015-01-16T23:50:25Z","git_url":"git://github.com/guard/guard.git","ssh_url":"git@github.com:guard/guard.git","clone_url":"https://github.com/guard/guard.git","svn_url":"https://github.com/guard/guard","homepage":"http://guardgem.org","size":7298,"stargazers_count":4080,"watchers_count":4080,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":341,"mirror_url":null,"open_issues_count":16,"forks":341,"open_issues":16,"watchers":4080,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/guard/guard/pulls/731"},"html":{"href":"https://github.com/guard/guard/pull/731"},"issue":{"href":"https://api.github.com/repos/guard/guard/issues/731"},"comments":{"href":"https://api.github.com/repos/guard/guard/issues/731/comments"},"review_comments":{"href":"https://api.github.com/repos/guard/guard/pulls/731/comments"},"review_comment":{"href":"https://api.github.com/repos/guard/guard/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/guard/guard/pulls/731/commits"},"statuses":{"href":"https://api.github.com/repos/guard/guard/statuses/4f0223e57af63438c23fc53995214ddf5eea4edb"}}}}