{"action":"created","comment":{"url":"https://api.github.com/repos/projecthydra/active_fedora/pulls/comments/62247812","id":62247812,"diff_hunk":"@@ -0,0 +1,24 @@\n+require 'spec_helper'\n+require 'generators/active_fedora/config/solr/solr_generator'\n+\n+describe ActiveFedora::Config::SolrGenerator do\n+  describe \"#solr_wrapper_config\" do\n+    let(:generator) { described_class.new }\n+    let(:files_to_test) {[\n+      'config/solr_wrapper_test.yml',\n+      '.solr_wrapper'\n+    ]}\n+\n+    before do\n+      generator.solr_wrapper_config\n+    end\n+\n+    after do\n+      files_to_test.each { |file| File.delete(file) if File.exist?(file) }\n+    end\n+\n+    it \"creates config files\" do\n+      files_to_test.each { |file| expect(File.exist?(file)).to(be_truthy, \"#{file} was expected to exist\") }","path":"spec/integration/generators/solr_generator_spec.rb","position":21,"original_position":21,"commit_id":"b10b11ab9cf4596e85f8f2f9204bce948d596d74","original_commit_id":"b10b11ab9cf4596e85f8f2f9204bce948d596d74","user":{"login":"mjgiarlo","id":131982,"avatar_url":"https://avatars.githubusercontent.com/u/131982?v=3","gravatar_id":"","url":"https://api.github.com/users/mjgiarlo","html_url":"https://github.com/mjgiarlo","followers_url":"https://api.github.com/users/mjgiarlo/followers","following_url":"https://api.github.com/users/mjgiarlo/following{/other_user}","gists_url":"https://api.github.com/users/mjgiarlo/gists{/gist_id}","starred_url":"https://api.github.com/users/mjgiarlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjgiarlo/subscriptions","organizations_url":"https://api.github.com/users/mjgiarlo/orgs","repos_url":"https://api.github.com/users/mjgiarlo/repos","events_url":"https://api.github.com/users/mjgiarlo/events{/privacy}","received_events_url":"https://api.github.com/users/mjgiarlo/received_events","type":"User","site_admin":false},"body":"Same comment re: above.","created_at":"2016-05-05T20:18:28Z","updated_at":"2016-05-05T20:18:28Z","html_url":"https://github.com/projecthydra/active_fedora/pull/1071#discussion_r62247812","pull_request_url":"https://api.github.com/repos/projecthydra/active_fedora/pulls/1071","_links":{"self":{"href":"https://api.github.com/repos/projecthydra/active_fedora/pulls/comments/62247812"},"html":{"href":"https://github.com/projecthydra/active_fedora/pull/1071#discussion_r62247812"},"pull_request":{"href":"https://api.github.com/repos/projecthydra/active_fedora/pulls/1071"}}},"pull_request":{"url":"https://api.github.com/repos/projecthydra/active_fedora/pulls/1071","id":69060943,"html_url":"https://github.com/projecthydra/active_fedora/pull/1071","diff_url":"https://github.com/projecthydra/active_fedora/pull/1071.diff","patch_url":"https://github.com/projecthydra/active_fedora/pull/1071.patch","issue_url":"https://api.github.com/repos/projecthydra/active_fedora/issues/1071","number":1071,"state":"open","locked":false,"title":"Have generators create wrapper config files for test","user":{"login":"mark-dce","id":3064318,"avatar_url":"https://avatars.githubusercontent.com/u/3064318?v=3","gravatar_id":"","url":"https://api.github.com/users/mark-dce","html_url":"https://github.com/mark-dce","followers_url":"https://api.github.com/users/mark-dce/followers","following_url":"https://api.github.com/users/mark-dce/following{/other_user}","gists_url":"https://api.github.com/users/mark-dce/gists{/gist_id}","starred_url":"https://api.github.com/users/mark-dce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mark-dce/subscriptions","organizations_url":"https://api.github.com/users/mark-dce/orgs","repos_url":"https://api.github.com/users/mark-dce/repos","events_url":"https://api.github.com/users/mark-dce/events{/privacy}","received_events_url":"https://api.github.com/users/mark-dce/received_events","type":"User","site_admin":false},"body":"Added development dependency on rails in order to include test for solr & fedora (rails) generators.\r\n\r\nCloses projecthydra/hydra-head#339","created_at":"2016-05-05T19:57:49Z","updated_at":"2016-05-05T20:18:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b6bbd7820449a8b5368d975a835b0413aa0493ac","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/projecthydra/active_fedora/pulls/1071/commits","review_comments_url":"https://api.github.com/repos/projecthydra/active_fedora/pulls/1071/comments","review_comment_url":"https://api.github.com/repos/projecthydra/active_fedora/pulls/comments{/number}","comments_url":"https://api.github.com/repos/projecthydra/active_fedora/issues/1071/comments","statuses_url":"https://api.github.com/repos/projecthydra/active_fedora/statuses/b10b11ab9cf4596e85f8f2f9204bce948d596d74","head":{"label":"projecthydra:test_wrappers","ref":"test_wrappers","sha":"b10b11ab9cf4596e85f8f2f9204bce948d596d74","user":{"login":"projecthydra","id":109426,"avatar_url":"https://avatars.githubusercontent.com/u/109426?v=3","gravatar_id":"","url":"https://api.github.com/users/projecthydra","html_url":"https://github.com/projecthydra","followers_url":"https://api.github.com/users/projecthydra/followers","following_url":"https://api.github.com/users/projecthydra/following{/other_user}","gists_url":"https://api.github.com/users/projecthydra/gists{/gist_id}","starred_url":"https://api.github.com/users/projecthydra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projecthydra/subscriptions","organizations_url":"https://api.github.com/users/projecthydra/orgs","repos_url":"https://api.github.com/users/projecthydra/repos","events_url":"https://api.github.com/users/projecthydra/events{/privacy}","received_events_url":"https://api.github.com/users/projecthydra/received_events","type":"Organization","site_admin":false},"repo":{"id":3867127,"name":"active_fedora","full_name":"projecthydra/active_fedora","owner":{"login":"projecthydra","id":109426,"avatar_url":"https://avatars.githubusercontent.com/u/109426?v=3","gravatar_id":"","url":"https://api.github.com/users/projecthydra","html_url":"https://github.com/projecthydra","followers_url":"https://api.github.com/users/projecthydra/followers","following_url":"https://api.github.com/users/projecthydra/following{/other_user}","gists_url":"https://api.github.com/users/projecthydra/gists{/gist_id}","starred_url":"https://api.github.com/users/projecthydra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projecthydra/subscriptions","organizations_url":"https://api.github.com/users/projecthydra/orgs","repos_url":"https://api.github.com/users/projecthydra/repos","events_url":"https://api.github.com/users/projecthydra/events{/privacy}","received_events_url":"https://api.github.com/users/projecthydra/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/projecthydra/active_fedora","description":"A Rails interface to the Fedora repository, akin to Active Model","fork":false,"url":"https://api.github.com/repos/projecthydra/active_fedora","forks_url":"https://api.github.com/repos/projecthydra/active_fedora/forks","keys_url":"https://api.github.com/repos/projecthydra/active_fedora/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projecthydra/active_fedora/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projecthydra/active_fedora/teams","hooks_url":"https://api.github.com/repos/projecthydra/active_fedora/hooks","issue_events_url":"https://api.github.com/repos/projecthydra/active_fedora/issues/events{/number}","events_url":"https://api.github.com/repos/projecthydra/active_fedora/events","assignees_url":"https://api.github.com/repos/projecthydra/active_fedora/assignees{/user}","branches_url":"https://api.github.com/repos/projecthydra/active_fedora/branches{/branch}","tags_url":"https://api.github.com/repos/projecthydra/active_fedora/tags","blobs_url":"https://api.github.com/repos/projecthydra/active_fedora/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projecthydra/active_fedora/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projecthydra/active_fedora/git/refs{/sha}","trees_url":"https://api.github.com/repos/projecthydra/active_fedora/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projecthydra/active_fedora/statuses/{sha}","languages_url":"https://api.github.com/repos/projecthydra/active_fedora/languages","stargazers_url":"https://api.github.com/repos/projecthydra/active_fedora/stargazers","contributors_url":"https://api.github.com/repos/projecthydra/active_fedora/contributors","subscribers_url":"https://api.github.com/repos/projecthydra/active_fedora/subscribers","subscription_url":"https://api.github.com/repos/projecthydra/active_fedora/subscription","commits_url":"https://api.github.com/repos/projecthydra/active_fedora/commits{/sha}","git_commits_url":"https://api.github.com/repos/projecthydra/active_fedora/git/commits{/sha}","comments_url":"https://api.github.com/repos/projecthydra/active_fedora/comments{/number}","issue_comment_url":"https://api.github.com/repos/projecthydra/active_fedora/issues/comments{/number}","contents_url":"https://api.github.com/repos/projecthydra/active_fedora/contents/{+path}","compare_url":"https://api.github.com/repos/projecthydra/active_fedora/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projecthydra/active_fedora/merges","archive_url":"https://api.github.com/repos/projecthydra/active_fedora/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projecthydra/active_fedora/downloads","issues_url":"https://api.github.com/repos/projecthydra/active_fedora/issues{/number}","pulls_url":"https://api.github.com/repos/projecthydra/active_fedora/pulls{/number}","milestones_url":"https://api.github.com/repos/projecthydra/active_fedora/milestones{/number}","notifications_url":"https://api.github.com/repos/projecthydra/active_fedora/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projecthydra/active_fedora/labels{/name}","releases_url":"https://api.github.com/repos/projecthydra/active_fedora/releases{/id}","deployments_url":"https://api.github.com/repos/projecthydra/active_fedora/deployments","created_at":"2012-03-29T15:01:13Z","updated_at":"2016-04-18T18:47:51Z","pushed_at":"2016-05-05T20:13:48Z","git_url":"git://github.com/projecthydra/active_fedora.git","ssh_url":"git@github.com:projecthydra/active_fedora.git","clone_url":"https://github.com/projecthydra/active_fedora.git","svn_url":"https://github.com/projecthydra/active_fedora","homepage":"","size":10623,"stargazers_count":37,"watchers_count":37,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":58,"mirror_url":null,"open_issues_count":104,"forks":58,"open_issues":104,"watchers":37,"default_branch":"master"}},"base":{"label":"projecthydra:master","ref":"master","sha":"e149cbfa77d393452054716034ae07d08b068a6a","user":{"login":"projecthydra","id":109426,"avatar_url":"https://avatars.githubusercontent.com/u/109426?v=3","gravatar_id":"","url":"https://api.github.com/users/projecthydra","html_url":"https://github.com/projecthydra","followers_url":"https://api.github.com/users/projecthydra/followers","following_url":"https://api.github.com/users/projecthydra/following{/other_user}","gists_url":"https://api.github.com/users/projecthydra/gists{/gist_id}","starred_url":"https://api.github.com/users/projecthydra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projecthydra/subscriptions","organizations_url":"https://api.github.com/users/projecthydra/orgs","repos_url":"https://api.github.com/users/projecthydra/repos","events_url":"https://api.github.com/users/projecthydra/events{/privacy}","received_events_url":"https://api.github.com/users/projecthydra/received_events","type":"Organization","site_admin":false},"repo":{"id":3867127,"name":"active_fedora","full_name":"projecthydra/active_fedora","owner":{"login":"projecthydra","id":109426,"avatar_url":"https://avatars.githubusercontent.com/u/109426?v=3","gravatar_id":"","url":"https://api.github.com/users/projecthydra","html_url":"https://github.com/projecthydra","followers_url":"https://api.github.com/users/projecthydra/followers","following_url":"https://api.github.com/users/projecthydra/following{/other_user}","gists_url":"https://api.github.com/users/projecthydra/gists{/gist_id}","starred_url":"https://api.github.com/users/projecthydra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projecthydra/subscriptions","organizations_url":"https://api.github.com/users/projecthydra/orgs","repos_url":"https://api.github.com/users/projecthydra/repos","events_url":"https://api.github.com/users/projecthydra/events{/privacy}","received_events_url":"https://api.github.com/users/projecthydra/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/projecthydra/active_fedora","description":"A Rails interface to the Fedora repository, akin to Active Model","fork":false,"url":"https://api.github.com/repos/projecthydra/active_fedora","forks_url":"https://api.github.com/repos/projecthydra/active_fedora/forks","keys_url":"https://api.github.com/repos/projecthydra/active_fedora/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projecthydra/active_fedora/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projecthydra/active_fedora/teams","hooks_url":"https://api.github.com/repos/projecthydra/active_fedora/hooks","issue_events_url":"https://api.github.com/repos/projecthydra/active_fedora/issues/events{/number}","events_url":"https://api.github.com/repos/projecthydra/active_fedora/events","assignees_url":"https://api.github.com/repos/projecthydra/active_fedora/assignees{/user}","branches_url":"https://api.github.com/repos/projecthydra/active_fedora/branches{/branch}","tags_url":"https://api.github.com/repos/projecthydra/active_fedora/tags","blobs_url":"https://api.github.com/repos/projecthydra/active_fedora/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projecthydra/active_fedora/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projecthydra/active_fedora/git/refs{/sha}","trees_url":"https://api.github.com/repos/projecthydra/active_fedora/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projecthydra/active_fedora/statuses/{sha}","languages_url":"https://api.github.com/repos/projecthydra/active_fedora/languages","stargazers_url":"https://api.github.com/repos/projecthydra/active_fedora/stargazers","contributors_url":"https://api.github.com/repos/projecthydra/active_fedora/contributors","subscribers_url":"https://api.github.com/repos/projecthydra/active_fedora/subscribers","subscription_url":"https://api.github.com/repos/projecthydra/active_fedora/subscription","commits_url":"https://api.github.com/repos/projecthydra/active_fedora/commits{/sha}","git_commits_url":"https://api.github.com/repos/projecthydra/active_fedora/git/commits{/sha}","comments_url":"https://api.github.com/repos/projecthydra/active_fedora/comments{/number}","issue_comment_url":"https://api.github.com/repos/projecthydra/active_fedora/issues/comments{/number}","contents_url":"https://api.github.com/repos/projecthydra/active_fedora/contents/{+path}","compare_url":"https://api.github.com/repos/projecthydra/active_fedora/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projecthydra/active_fedora/merges","archive_url":"https://api.github.com/repos/projecthydra/active_fedora/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projecthydra/active_fedora/downloads","issues_url":"https://api.github.com/repos/projecthydra/active_fedora/issues{/number}","pulls_url":"https://api.github.com/repos/projecthydra/active_fedora/pulls{/number}","milestones_url":"https://api.github.com/repos/projecthydra/active_fedora/milestones{/number}","notifications_url":"https://api.github.com/repos/projecthydra/active_fedora/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projecthydra/active_fedora/labels{/name}","releases_url":"https://api.github.com/repos/projecthydra/active_fedora/releases{/id}","deployments_url":"https://api.github.com/repos/projecthydra/active_fedora/deployments","created_at":"2012-03-29T15:01:13Z","updated_at":"2016-04-18T18:47:51Z","pushed_at":"2016-05-05T20:13:48Z","git_url":"git://github.com/projecthydra/active_fedora.git","ssh_url":"git@github.com:projecthydra/active_fedora.git","clone_url":"https://github.com/projecthydra/active_fedora.git","svn_url":"https://github.com/projecthydra/active_fedora","homepage":"","size":10623,"stargazers_count":37,"watchers_count":37,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":58,"mirror_url":null,"open_issues_count":104,"forks":58,"open_issues":104,"watchers":37,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/projecthydra/active_fedora/pulls/1071"},"html":{"href":"https://github.com/projecthydra/active_fedora/pull/1071"},"issue":{"href":"https://api.github.com/repos/projecthydra/active_fedora/issues/1071"},"comments":{"href":"https://api.github.com/repos/projecthydra/active_fedora/issues/1071/comments"},"review_comments":{"href":"https://api.github.com/repos/projecthydra/active_fedora/pulls/1071/comments"},"review_comment":{"href":"https://api.github.com/repos/projecthydra/active_fedora/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/projecthydra/active_fedora/pulls/1071/commits"},"statuses":{"href":"https://api.github.com/repos/projecthydra/active_fedora/statuses/b10b11ab9cf4596e85f8f2f9204bce948d596d74"}}}}