{"action":"created","comment":{"url":"https://api.github.com/repos/sheyooo/andela-project/pulls/comments/53811852","id":53811852,"diff_hunk":"@@ -1,158 +1,164 @@\n-require 'codeclimate-test-reporter'\n+require \"codeclimate-test-reporter\"\n CodeClimate::TestReporter.configure do |config|\n   config.path_prefix = \"src\" #the root of your Rails application relative to the repository root\n-  #config.git_dir = \"https://github.com/sheyooo/andela-project.git\" #the relative or absolute location of your git root compared to where your tests are run\n+  #config.git_dir = `https://github.com/sheyooo/andela-project.git` #the relative or absolute location of your git root compared to where your tests are run\n   config.git_dir = `git rev-parse --show-toplevel`.strip\n end\n \n CodeClimate::TestReporter.start\n \n-require_relative 'notes'\n+require_relative \"notes\"\n \n-RSpec.describe Sheyi::NotesApplication do\n-  it 'raises error if no name is supplied' do\n-    expect { Sheyi::NotesApplication.new '' }.to raise_error 'No name supplied!'\n+RSpec.describe Sheyi::NotesApplication do \n+\n+  it \"raises error if no name is supplied\" do \n+\n+    expect {Sheyi::NotesApplication.new \"\"}.to raise_error \"No name supplied!\"\n   end\n \n-  it 'raises error if invalid name is supplied' do\n-    expect { Sheyi::NotesApplication.new \"\\n\\n\\n\\t\" }.to raise_error 'No name supplied!'\n+  it \"raises error if invalid name is supplied\" do \n+\n+    expect {Sheyi::NotesApplication.new \"\\n\\n\\n\\t\"}.to raise_error \"No name supplied!\"\n   end\n \n-  it 'initialize the app with name' do\n-    expect(Sheyi::NotesApplication.new 'Tester').to be_instance_of Sheyi::NotesApplication\n+  it \"initialize the app with name\" do \n+\n+    expect(Sheyi::NotesApplication.new \"Tester\").to be_instance_of Sheyi::NotesApplication\n   end\n \n-  it \"creation note content shouldn't be empty\" do\n-    app = Sheyi::NotesApplication.new 'Tester'\n+  it \"creation note content shouldn't be empty\" do \n+    app = Sheyi::NotesApplication.new \"Tester\"\n \n-    res = app.create('')\n+    res = app.create(\"\")\n     expect(res).to eq nil\n   end\n \n-  it 'creation note content should return note' do\n-    app = Sheyi::NotesApplication.new 'Tester'\n+  it \"creation note content should return note\" do \n+    app = Sheyi::NotesApplication.new \"Tester\"\n \n-    res = app.create('Andela')\n-    expect(res).to eq(author: 'Tester', content: 'Andela')\n+    res = app.create(\"Andela\")\n+    expect(res).to eq ({author: \"Tester\", content: \"Andela\"})\n   end\n \n-  it 'create function should store in instance var' do\n-    app = Sheyi::NotesApplication.new 'Tester'\n-    app.create('new note in var')\n+  it \"create function should store in instance var\" do \n+    app = Sheyi::NotesApplication.new \"Tester\"\n+    app.create(\"new note in var\")\n \n-    expect(app.notes[0]).to eq(author: 'Tester', content: 'new note in var')\n+    expect(app.notes[0]).to eq ({author: \"Tester\", content: \"new note in var\"})\n   end\n \n-  it 'create function should store in instance var more than one note' do\n-    app = Sheyi::NotesApplication.new 'Tester'\n-    app.create('new note in var')\n-    app.create('another note in var')\n+  it \"create function should store in instance var more than one note\" do \n+    app = Sheyi::NotesApplication.new \"Tester\"\n+    app.create(\"new note in var\")\n+    app.create(\"another note in var\")\n \n-    expect(app.notes[0]).to eq(author: 'Tester', content: 'new note in var')\n-    expect(app.notes[1]).to eq(author: 'Tester', content: 'another note in var')\n+    expect(app.notes[0]).to eq ({author: \"Tester\", content: \"new note in var\"})\n+    expect(app.notes[1]).to eq ({author: \"Tester\", content: \"another note in var\"})\n     expect(app.notes.length).to eq 2\n   end\n \n-  it 'edit function should edit appropriately' do\n-    app = Sheyi::NotesApplication.new 'Tester'\n-    app.create('new note in var')\n-    app.edit(0, 'edited text')\n+  it \"edit function should edit appropriately\" do \n+    app = Sheyi::NotesApplication.new \"Tester\"\n+    app.create(\"new note in var\")\n+    app.edit(0, \"edited text\")\n \n-    expect(app.notes[0]).to eq(author: 'Tester', content: 'edited text')\n+    expect(app.notes[0]).to eq ({author: \"Tester\", content: \"edited text\"})\n   end\n \n-  it 'the delete function should delete appropriately' do\n-    app = Sheyi::NotesApplication.new 'Tester'\n-    app.create('a note')\n+  it \"the delete function should delete appropriately\" do \n+    app = Sheyi::NotesApplication.new \"Tester\"\n+    app.create(\"a note\")\n     app.delete(0)\n \n     expect(app.notes.length).to eq 0\n   end\n \n-  it 'create function should store name in @author var' do\n-    app = Sheyi::NotesApplication.new 'Tester'\n+  it \"create function should store name in @author var\" do ","path":"src/notes_test.rb","position":113,"original_position":113,"commit_id":"3c1229ac05663f1d6fdfb2454ce98fd2be6c2380","original_commit_id":"3c1229ac05663f1d6fdfb2454ce98fd2be6c2380","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Trailing whitespace detected.","created_at":"2016-02-23T17:00:35Z","updated_at":"2016-02-23T17:00:35Z","html_url":"https://github.com/sheyooo/andela-project/pull/13#discussion_r53811852","pull_request_url":"https://api.github.com/repos/sheyooo/andela-project/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/sheyooo/andela-project/pulls/comments/53811852"},"html":{"href":"https://github.com/sheyooo/andela-project/pull/13#discussion_r53811852"},"pull_request":{"href":"https://api.github.com/repos/sheyooo/andela-project/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/sheyooo/andela-project/pulls/13","id":60372790,"html_url":"https://github.com/sheyooo/andela-project/pull/13","diff_url":"https://github.com/sheyooo/andela-project/pull/13.diff","patch_url":"https://github.com/sheyooo/andela-project/pull/13.patch","issue_url":"https://api.github.com/repos/sheyooo/andela-project/issues/13","number":13,"state":"open","locked":false,"title":"Chore ci integration","user":{"login":"sheyooo","id":5064333,"avatar_url":"https://avatars.githubusercontent.com/u/5064333?v=3","gravatar_id":"","url":"https://api.github.com/users/sheyooo","html_url":"https://github.com/sheyooo","followers_url":"https://api.github.com/users/sheyooo/followers","following_url":"https://api.github.com/users/sheyooo/following{/other_user}","gists_url":"https://api.github.com/users/sheyooo/gists{/gist_id}","starred_url":"https://api.github.com/users/sheyooo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheyooo/subscriptions","organizations_url":"https://api.github.com/users/sheyooo/orgs","repos_url":"https://api.github.com/users/sheyooo/repos","events_url":"https://api.github.com/users/sheyooo/events{/privacy}","received_events_url":"https://api.github.com/users/sheyooo/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-23T17:00:28Z","updated_at":"2016-02-23T17:00:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0f762ec2e3ad96dbb7b065e503695d5ae0dbd01b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sheyooo/andela-project/pulls/13/commits","review_comments_url":"https://api.github.com/repos/sheyooo/andela-project/pulls/13/comments","review_comment_url":"https://api.github.com/repos/sheyooo/andela-project/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sheyooo/andela-project/issues/13/comments","statuses_url":"https://api.github.com/repos/sheyooo/andela-project/statuses/3c1229ac05663f1d6fdfb2454ce98fd2be6c2380","head":{"label":"sheyooo:chore-ci-integration","ref":"chore-ci-integration","sha":"3c1229ac05663f1d6fdfb2454ce98fd2be6c2380","user":{"login":"sheyooo","id":5064333,"avatar_url":"https://avatars.githubusercontent.com/u/5064333?v=3","gravatar_id":"","url":"https://api.github.com/users/sheyooo","html_url":"https://github.com/sheyooo","followers_url":"https://api.github.com/users/sheyooo/followers","following_url":"https://api.github.com/users/sheyooo/following{/other_user}","gists_url":"https://api.github.com/users/sheyooo/gists{/gist_id}","starred_url":"https://api.github.com/users/sheyooo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheyooo/subscriptions","organizations_url":"https://api.github.com/users/sheyooo/orgs","repos_url":"https://api.github.com/users/sheyooo/repos","events_url":"https://api.github.com/users/sheyooo/events{/privacy}","received_events_url":"https://api.github.com/users/sheyooo/received_events","type":"User","site_admin":false},"repo":{"id":52153125,"name":"andela-project","full_name":"sheyooo/andela-project","owner":{"login":"sheyooo","id":5064333,"avatar_url":"https://avatars.githubusercontent.com/u/5064333?v=3","gravatar_id":"","url":"https://api.github.com/users/sheyooo","html_url":"https://github.com/sheyooo","followers_url":"https://api.github.com/users/sheyooo/followers","following_url":"https://api.github.com/users/sheyooo/following{/other_user}","gists_url":"https://api.github.com/users/sheyooo/gists{/gist_id}","starred_url":"https://api.github.com/users/sheyooo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheyooo/subscriptions","organizations_url":"https://api.github.com/users/sheyooo/orgs","repos_url":"https://api.github.com/users/sheyooo/repos","events_url":"https://api.github.com/users/sheyooo/events{/privacy}","received_events_url":"https://api.github.com/users/sheyooo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sheyooo/andela-project","description":"Andela Day Project","fork":false,"url":"https://api.github.com/repos/sheyooo/andela-project","forks_url":"https://api.github.com/repos/sheyooo/andela-project/forks","keys_url":"https://api.github.com/repos/sheyooo/andela-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sheyooo/andela-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sheyooo/andela-project/teams","hooks_url":"https://api.github.com/repos/sheyooo/andela-project/hooks","issue_events_url":"https://api.github.com/repos/sheyooo/andela-project/issues/events{/number}","events_url":"https://api.github.com/repos/sheyooo/andela-project/events","assignees_url":"https://api.github.com/repos/sheyooo/andela-project/assignees{/user}","branches_url":"https://api.github.com/repos/sheyooo/andela-project/branches{/branch}","tags_url":"https://api.github.com/repos/sheyooo/andela-project/tags","blobs_url":"https://api.github.com/repos/sheyooo/andela-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sheyooo/andela-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sheyooo/andela-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/sheyooo/andela-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sheyooo/andela-project/statuses/{sha}","languages_url":"https://api.github.com/repos/sheyooo/andela-project/languages","stargazers_url":"https://api.github.com/repos/sheyooo/andela-project/stargazers","contributors_url":"https://api.github.com/repos/sheyooo/andela-project/contributors","subscribers_url":"https://api.github.com/repos/sheyooo/andela-project/subscribers","subscription_url":"https://api.github.com/repos/sheyooo/andela-project/subscription","commits_url":"https://api.github.com/repos/sheyooo/andela-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/sheyooo/andela-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/sheyooo/andela-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/sheyooo/andela-project/issues/comments{/number}","contents_url":"https://api.github.com/repos/sheyooo/andela-project/contents/{+path}","compare_url":"https://api.github.com/repos/sheyooo/andela-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sheyooo/andela-project/merges","archive_url":"https://api.github.com/repos/sheyooo/andela-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sheyooo/andela-project/downloads","issues_url":"https://api.github.com/repos/sheyooo/andela-project/issues{/number}","pulls_url":"https://api.github.com/repos/sheyooo/andela-project/pulls{/number}","milestones_url":"https://api.github.com/repos/sheyooo/andela-project/milestones{/number}","notifications_url":"https://api.github.com/repos/sheyooo/andela-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sheyooo/andela-project/labels{/name}","releases_url":"https://api.github.com/repos/sheyooo/andela-project/releases{/id}","deployments_url":"https://api.github.com/repos/sheyooo/andela-project/deployments","created_at":"2016-02-20T12:51:40Z","updated_at":"2016-02-20T18:49:22Z","pushed_at":"2016-02-23T17:00:28Z","git_url":"git://github.com/sheyooo/andela-project.git","ssh_url":"git@github.com:sheyooo/andela-project.git","clone_url":"https://github.com/sheyooo/andela-project.git","svn_url":"https://github.com/sheyooo/andela-project","homepage":null,"size":33,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"sheyooo:master","ref":"master","sha":"b76ada788d3572901b0729fcf49a8223362b2cc3","user":{"login":"sheyooo","id":5064333,"avatar_url":"https://avatars.githubusercontent.com/u/5064333?v=3","gravatar_id":"","url":"https://api.github.com/users/sheyooo","html_url":"https://github.com/sheyooo","followers_url":"https://api.github.com/users/sheyooo/followers","following_url":"https://api.github.com/users/sheyooo/following{/other_user}","gists_url":"https://api.github.com/users/sheyooo/gists{/gist_id}","starred_url":"https://api.github.com/users/sheyooo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheyooo/subscriptions","organizations_url":"https://api.github.com/users/sheyooo/orgs","repos_url":"https://api.github.com/users/sheyooo/repos","events_url":"https://api.github.com/users/sheyooo/events{/privacy}","received_events_url":"https://api.github.com/users/sheyooo/received_events","type":"User","site_admin":false},"repo":{"id":52153125,"name":"andela-project","full_name":"sheyooo/andela-project","owner":{"login":"sheyooo","id":5064333,"avatar_url":"https://avatars.githubusercontent.com/u/5064333?v=3","gravatar_id":"","url":"https://api.github.com/users/sheyooo","html_url":"https://github.com/sheyooo","followers_url":"https://api.github.com/users/sheyooo/followers","following_url":"https://api.github.com/users/sheyooo/following{/other_user}","gists_url":"https://api.github.com/users/sheyooo/gists{/gist_id}","starred_url":"https://api.github.com/users/sheyooo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheyooo/subscriptions","organizations_url":"https://api.github.com/users/sheyooo/orgs","repos_url":"https://api.github.com/users/sheyooo/repos","events_url":"https://api.github.com/users/sheyooo/events{/privacy}","received_events_url":"https://api.github.com/users/sheyooo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sheyooo/andela-project","description":"Andela Day Project","fork":false,"url":"https://api.github.com/repos/sheyooo/andela-project","forks_url":"https://api.github.com/repos/sheyooo/andela-project/forks","keys_url":"https://api.github.com/repos/sheyooo/andela-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sheyooo/andela-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sheyooo/andela-project/teams","hooks_url":"https://api.github.com/repos/sheyooo/andela-project/hooks","issue_events_url":"https://api.github.com/repos/sheyooo/andela-project/issues/events{/number}","events_url":"https://api.github.com/repos/sheyooo/andela-project/events","assignees_url":"https://api.github.com/repos/sheyooo/andela-project/assignees{/user}","branches_url":"https://api.github.com/repos/sheyooo/andela-project/branches{/branch}","tags_url":"https://api.github.com/repos/sheyooo/andela-project/tags","blobs_url":"https://api.github.com/repos/sheyooo/andela-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sheyooo/andela-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sheyooo/andela-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/sheyooo/andela-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sheyooo/andela-project/statuses/{sha}","languages_url":"https://api.github.com/repos/sheyooo/andela-project/languages","stargazers_url":"https://api.github.com/repos/sheyooo/andela-project/stargazers","contributors_url":"https://api.github.com/repos/sheyooo/andela-project/contributors","subscribers_url":"https://api.github.com/repos/sheyooo/andela-project/subscribers","subscription_url":"https://api.github.com/repos/sheyooo/andela-project/subscription","commits_url":"https://api.github.com/repos/sheyooo/andela-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/sheyooo/andela-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/sheyooo/andela-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/sheyooo/andela-project/issues/comments{/number}","contents_url":"https://api.github.com/repos/sheyooo/andela-project/contents/{+path}","compare_url":"https://api.github.com/repos/sheyooo/andela-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sheyooo/andela-project/merges","archive_url":"https://api.github.com/repos/sheyooo/andela-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sheyooo/andela-project/downloads","issues_url":"https://api.github.com/repos/sheyooo/andela-project/issues{/number}","pulls_url":"https://api.github.com/repos/sheyooo/andela-project/pulls{/number}","milestones_url":"https://api.github.com/repos/sheyooo/andela-project/milestones{/number}","notifications_url":"https://api.github.com/repos/sheyooo/andela-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sheyooo/andela-project/labels{/name}","releases_url":"https://api.github.com/repos/sheyooo/andela-project/releases{/id}","deployments_url":"https://api.github.com/repos/sheyooo/andela-project/deployments","created_at":"2016-02-20T12:51:40Z","updated_at":"2016-02-20T18:49:22Z","pushed_at":"2016-02-23T17:00:28Z","git_url":"git://github.com/sheyooo/andela-project.git","ssh_url":"git@github.com:sheyooo/andela-project.git","clone_url":"https://github.com/sheyooo/andela-project.git","svn_url":"https://github.com/sheyooo/andela-project","homepage":null,"size":33,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sheyooo/andela-project/pulls/13"},"html":{"href":"https://github.com/sheyooo/andela-project/pull/13"},"issue":{"href":"https://api.github.com/repos/sheyooo/andela-project/issues/13"},"comments":{"href":"https://api.github.com/repos/sheyooo/andela-project/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/sheyooo/andela-project/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/sheyooo/andela-project/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sheyooo/andela-project/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/sheyooo/andela-project/statuses/3c1229ac05663f1d6fdfb2454ce98fd2be6c2380"}}}}