{"action":"created","comment":{"url":"https://api.github.com/repos/olimart/queenbee/pulls/comments/41406891","id":41406891,"diff_hunk":"@@ -1,7 +1,28 @@\n require 'test_helper'\n+require \"test/unit/assertions\"\n+include Test::Unit::Assertions\n \n class OrderTest < ActiveSupport::TestCase\n-  # test \"the truth\" do\n-  #   assert true\n-  # end\n+\n+  def test_create_order\n+    Queenbee.api_base = 'http://localhost:3000/api'\n+    response = Queenbee::Order.create({\n+                                          date: Time.now,\n+                                          currency: 'cad',","path":"test/models/order_test.rb","position":14,"original_position":14,"commit_id":"99ddd535901787c057da45a609c2975ef4369e3b","original_commit_id":"99ddd535901787c057da45a609c2975ef4369e3b","user":{"login":"codeguardci","id":9791874,"avatar_url":"https://avatars.githubusercontent.com/u/9791874?v=3","gravatar_id":"","url":"https://api.github.com/users/codeguardci","html_url":"https://github.com/codeguardci","followers_url":"https://api.github.com/users/codeguardci/followers","following_url":"https://api.github.com/users/codeguardci/following{/other_user}","gists_url":"https://api.github.com/users/codeguardci/gists{/gist_id}","starred_url":"https://api.github.com/users/codeguardci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeguardci/subscriptions","organizations_url":"https://api.github.com/users/codeguardci/orgs","repos_url":"https://api.github.com/users/codeguardci/repos","events_url":"https://api.github.com/users/codeguardci/events{/privacy}","received_events_url":"https://api.github.com/users/codeguardci/received_events","type":"User","site_admin":false},"body":"Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2015-10-07T15:45:48Z","updated_at":"2015-10-07T15:45:48Z","html_url":"https://github.com/olimart/queenbee/pull/3#discussion_r41406891","pull_request_url":"https://api.github.com/repos/olimart/queenbee/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/olimart/queenbee/pulls/comments/41406891"},"html":{"href":"https://github.com/olimart/queenbee/pull/3#discussion_r41406891"},"pull_request":{"href":"https://api.github.com/repos/olimart/queenbee/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/olimart/queenbee/pulls/3","id":47044912,"html_url":"https://github.com/olimart/queenbee/pull/3","diff_url":"https://github.com/olimart/queenbee/pull/3.diff","patch_url":"https://github.com/olimart/queenbee/pull/3.patch","issue_url":"https://api.github.com/repos/olimart/queenbee/issues/3","number":3,"state":"open","locked":false,"title":"Update the order","user":{"login":"olimart","id":547754,"avatar_url":"https://avatars.githubusercontent.com/u/547754?v=3","gravatar_id":"","url":"https://api.github.com/users/olimart","html_url":"https://github.com/olimart","followers_url":"https://api.github.com/users/olimart/followers","following_url":"https://api.github.com/users/olimart/following{/other_user}","gists_url":"https://api.github.com/users/olimart/gists{/gist_id}","starred_url":"https://api.github.com/users/olimart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olimart/subscriptions","organizations_url":"https://api.github.com/users/olimart/orgs","repos_url":"https://api.github.com/users/olimart/repos","events_url":"https://api.github.com/users/olimart/events{/privacy}","received_events_url":"https://api.github.com/users/olimart/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-07T15:45:44Z","updated_at":"2015-10-07T15:45:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7cd4df48237716213f17bdf7861b4cfafea2486a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/olimart/queenbee/pulls/3/commits","review_comments_url":"https://api.github.com/repos/olimart/queenbee/pulls/3/comments","review_comment_url":"https://api.github.com/repos/olimart/queenbee/pulls/comments{/number}","comments_url":"https://api.github.com/repos/olimart/queenbee/issues/3/comments","statuses_url":"https://api.github.com/repos/olimart/queenbee/statuses/99ddd535901787c057da45a609c2975ef4369e3b","head":{"label":"nazrulcse:master","ref":"master","sha":"99ddd535901787c057da45a609c2975ef4369e3b","user":{"login":"nazrulcse","id":1034949,"avatar_url":"https://avatars.githubusercontent.com/u/1034949?v=3","gravatar_id":"","url":"https://api.github.com/users/nazrulcse","html_url":"https://github.com/nazrulcse","followers_url":"https://api.github.com/users/nazrulcse/followers","following_url":"https://api.github.com/users/nazrulcse/following{/other_user}","gists_url":"https://api.github.com/users/nazrulcse/gists{/gist_id}","starred_url":"https://api.github.com/users/nazrulcse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nazrulcse/subscriptions","organizations_url":"https://api.github.com/users/nazrulcse/orgs","repos_url":"https://api.github.com/users/nazrulcse/repos","events_url":"https://api.github.com/users/nazrulcse/events{/privacy}","received_events_url":"https://api.github.com/users/nazrulcse/received_events","type":"User","site_admin":false},"repo":{"id":43823770,"name":"queenbee","full_name":"nazrulcse/queenbee","owner":{"login":"nazrulcse","id":1034949,"avatar_url":"https://avatars.githubusercontent.com/u/1034949?v=3","gravatar_id":"","url":"https://api.github.com/users/nazrulcse","html_url":"https://github.com/nazrulcse","followers_url":"https://api.github.com/users/nazrulcse/followers","following_url":"https://api.github.com/users/nazrulcse/following{/other_user}","gists_url":"https://api.github.com/users/nazrulcse/gists{/gist_id}","starred_url":"https://api.github.com/users/nazrulcse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nazrulcse/subscriptions","organizations_url":"https://api.github.com/users/nazrulcse/orgs","repos_url":"https://api.github.com/users/nazrulcse/repos","events_url":"https://api.github.com/users/nazrulcse/events{/privacy}","received_events_url":"https://api.github.com/users/nazrulcse/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nazrulcse/queenbee","description":"","fork":true,"url":"https://api.github.com/repos/nazrulcse/queenbee","forks_url":"https://api.github.com/repos/nazrulcse/queenbee/forks","keys_url":"https://api.github.com/repos/nazrulcse/queenbee/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nazrulcse/queenbee/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nazrulcse/queenbee/teams","hooks_url":"https://api.github.com/repos/nazrulcse/queenbee/hooks","issue_events_url":"https://api.github.com/repos/nazrulcse/queenbee/issues/events{/number}","events_url":"https://api.github.com/repos/nazrulcse/queenbee/events","assignees_url":"https://api.github.com/repos/nazrulcse/queenbee/assignees{/user}","branches_url":"https://api.github.com/repos/nazrulcse/queenbee/branches{/branch}","tags_url":"https://api.github.com/repos/nazrulcse/queenbee/tags","blobs_url":"https://api.github.com/repos/nazrulcse/queenbee/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nazrulcse/queenbee/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nazrulcse/queenbee/git/refs{/sha}","trees_url":"https://api.github.com/repos/nazrulcse/queenbee/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nazrulcse/queenbee/statuses/{sha}","languages_url":"https://api.github.com/repos/nazrulcse/queenbee/languages","stargazers_url":"https://api.github.com/repos/nazrulcse/queenbee/stargazers","contributors_url":"https://api.github.com/repos/nazrulcse/queenbee/contributors","subscribers_url":"https://api.github.com/repos/nazrulcse/queenbee/subscribers","subscription_url":"https://api.github.com/repos/nazrulcse/queenbee/subscription","commits_url":"https://api.github.com/repos/nazrulcse/queenbee/commits{/sha}","git_commits_url":"https://api.github.com/repos/nazrulcse/queenbee/git/commits{/sha}","comments_url":"https://api.github.com/repos/nazrulcse/queenbee/comments{/number}","issue_comment_url":"https://api.github.com/repos/nazrulcse/queenbee/issues/comments{/number}","contents_url":"https://api.github.com/repos/nazrulcse/queenbee/contents/{+path}","compare_url":"https://api.github.com/repos/nazrulcse/queenbee/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nazrulcse/queenbee/merges","archive_url":"https://api.github.com/repos/nazrulcse/queenbee/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nazrulcse/queenbee/downloads","issues_url":"https://api.github.com/repos/nazrulcse/queenbee/issues{/number}","pulls_url":"https://api.github.com/repos/nazrulcse/queenbee/pulls{/number}","milestones_url":"https://api.github.com/repos/nazrulcse/queenbee/milestones{/number}","notifications_url":"https://api.github.com/repos/nazrulcse/queenbee/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nazrulcse/queenbee/labels{/name}","releases_url":"https://api.github.com/repos/nazrulcse/queenbee/releases{/id}","created_at":"2015-10-07T15:03:42Z","updated_at":"2015-10-07T15:03:43Z","pushed_at":"2015-10-07T15:16:24Z","git_url":"git://github.com/nazrulcse/queenbee.git","ssh_url":"git@github.com:nazrulcse/queenbee.git","clone_url":"https://github.com/nazrulcse/queenbee.git","svn_url":"https://github.com/nazrulcse/queenbee","homepage":null,"size":498,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"olimart:master","ref":"master","sha":"c5662152a7fa286f63289d6662df0b4771c29418","user":{"login":"olimart","id":547754,"avatar_url":"https://avatars.githubusercontent.com/u/547754?v=3","gravatar_id":"","url":"https://api.github.com/users/olimart","html_url":"https://github.com/olimart","followers_url":"https://api.github.com/users/olimart/followers","following_url":"https://api.github.com/users/olimart/following{/other_user}","gists_url":"https://api.github.com/users/olimart/gists{/gist_id}","starred_url":"https://api.github.com/users/olimart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olimart/subscriptions","organizations_url":"https://api.github.com/users/olimart/orgs","repos_url":"https://api.github.com/users/olimart/repos","events_url":"https://api.github.com/users/olimart/events{/privacy}","received_events_url":"https://api.github.com/users/olimart/received_events","type":"User","site_admin":false},"repo":{"id":18127043,"name":"queenbee","full_name":"olimart/queenbee","owner":{"login":"olimart","id":547754,"avatar_url":"https://avatars.githubusercontent.com/u/547754?v=3","gravatar_id":"","url":"https://api.github.com/users/olimart","html_url":"https://github.com/olimart","followers_url":"https://api.github.com/users/olimart/followers","following_url":"https://api.github.com/users/olimart/following{/other_user}","gists_url":"https://api.github.com/users/olimart/gists{/gist_id}","starred_url":"https://api.github.com/users/olimart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olimart/subscriptions","organizations_url":"https://api.github.com/users/olimart/orgs","repos_url":"https://api.github.com/users/olimart/repos","events_url":"https://api.github.com/users/olimart/events{/privacy}","received_events_url":"https://api.github.com/users/olimart/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/olimart/queenbee","description":"","fork":false,"url":"https://api.github.com/repos/olimart/queenbee","forks_url":"https://api.github.com/repos/olimart/queenbee/forks","keys_url":"https://api.github.com/repos/olimart/queenbee/keys{/key_id}","collaborators_url":"https://api.github.com/repos/olimart/queenbee/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/olimart/queenbee/teams","hooks_url":"https://api.github.com/repos/olimart/queenbee/hooks","issue_events_url":"https://api.github.com/repos/olimart/queenbee/issues/events{/number}","events_url":"https://api.github.com/repos/olimart/queenbee/events","assignees_url":"https://api.github.com/repos/olimart/queenbee/assignees{/user}","branches_url":"https://api.github.com/repos/olimart/queenbee/branches{/branch}","tags_url":"https://api.github.com/repos/olimart/queenbee/tags","blobs_url":"https://api.github.com/repos/olimart/queenbee/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/olimart/queenbee/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/olimart/queenbee/git/refs{/sha}","trees_url":"https://api.github.com/repos/olimart/queenbee/git/trees{/sha}","statuses_url":"https://api.github.com/repos/olimart/queenbee/statuses/{sha}","languages_url":"https://api.github.com/repos/olimart/queenbee/languages","stargazers_url":"https://api.github.com/repos/olimart/queenbee/stargazers","contributors_url":"https://api.github.com/repos/olimart/queenbee/contributors","subscribers_url":"https://api.github.com/repos/olimart/queenbee/subscribers","subscription_url":"https://api.github.com/repos/olimart/queenbee/subscription","commits_url":"https://api.github.com/repos/olimart/queenbee/commits{/sha}","git_commits_url":"https://api.github.com/repos/olimart/queenbee/git/commits{/sha}","comments_url":"https://api.github.com/repos/olimart/queenbee/comments{/number}","issue_comment_url":"https://api.github.com/repos/olimart/queenbee/issues/comments{/number}","contents_url":"https://api.github.com/repos/olimart/queenbee/contents/{+path}","compare_url":"https://api.github.com/repos/olimart/queenbee/compare/{base}...{head}","merges_url":"https://api.github.com/repos/olimart/queenbee/merges","archive_url":"https://api.github.com/repos/olimart/queenbee/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/olimart/queenbee/downloads","issues_url":"https://api.github.com/repos/olimart/queenbee/issues{/number}","pulls_url":"https://api.github.com/repos/olimart/queenbee/pulls{/number}","milestones_url":"https://api.github.com/repos/olimart/queenbee/milestones{/number}","notifications_url":"https://api.github.com/repos/olimart/queenbee/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/olimart/queenbee/labels{/name}","releases_url":"https://api.github.com/repos/olimart/queenbee/releases{/id}","created_at":"2014-03-26T04:40:51Z","updated_at":"2015-04-27T01:20:15Z","pushed_at":"2015-10-07T15:45:44Z","git_url":"git://github.com/olimart/queenbee.git","ssh_url":"git@github.com:olimart/queenbee.git","clone_url":"https://github.com/olimart/queenbee.git","svn_url":"https://github.com/olimart/queenbee","homepage":null,"size":832,"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/olimart/queenbee/pulls/3"},"html":{"href":"https://github.com/olimart/queenbee/pull/3"},"issue":{"href":"https://api.github.com/repos/olimart/queenbee/issues/3"},"comments":{"href":"https://api.github.com/repos/olimart/queenbee/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/olimart/queenbee/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/olimart/queenbee/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/olimart/queenbee/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/olimart/queenbee/statuses/99ddd535901787c057da45a609c2975ef4369e3b"}}}}