{"action":"created","issue":{"url":"https://api.github.com/repos/sul-dlss/spotlight-dor-resources/issues/10","labels_url":"https://api.github.com/repos/sul-dlss/spotlight-dor-resources/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/sul-dlss/spotlight-dor-resources/issues/10/comments","events_url":"https://api.github.com/repos/sul-dlss/spotlight-dor-resources/issues/10/events","html_url":"https://github.com/sul-dlss/spotlight-dor-resources/pull/10","id":112926514,"number":10,"title":"Fix tests","user":{"login":"ndushay","id":96775,"avatar_url":"https://avatars.githubusercontent.com/u/96775?v=3","gravatar_id":"","url":"https://api.github.com/users/ndushay","html_url":"https://github.com/ndushay","followers_url":"https://api.github.com/users/ndushay/followers","following_url":"https://api.github.com/users/ndushay/following{/other_user}","gists_url":"https://api.github.com/users/ndushay/gists{/gist_id}","starred_url":"https://api.github.com/users/ndushay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndushay/subscriptions","organizations_url":"https://api.github.com/users/ndushay/orgs","repos_url":"https://api.github.com/users/ndushay/repos","events_url":"https://api.github.com/users/ndushay/events{/privacy}","received_events_url":"https://api.github.com/users/ndushay/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sul-dlss/spotlight-dor-resources/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-23T01:54:17Z","updated_at":"2015-10-23T17:50:51Z","closed_at":"2015-10-23T17:50:51Z","pull_request":{"url":"https://api.github.com/repos/sul-dlss/spotlight-dor-resources/pulls/10","html_url":"https://github.com/sul-dlss/spotlight-dor-resources/pull/10","diff_url":"https://github.com/sul-dlss/spotlight-dor-resources/pull/10.diff","patch_url":"https://github.com/sul-dlss/spotlight-dor-resources/pull/10.patch"},"body":"Peter's latest pushed branch (sul-dlss/spotlight-dor-resources/tree/issue48-index-genre) had travis fails, and they mirrored test failures I was having locally.\r\n\r\nI believe this fixes them without compromising anything.\r\n* I added method stubs for SolrDocument.to_solr for the failing tests\r\n* I updated the purl url in testing to https, and the vcr cassettes to go with it.\r\n* I did some cleanup on Gemfile, Rakefile ...\r\netc.\r\n\r\n@peetucket \r\n\r\n@cbeer - do these changes make sense for the test failures?  They were like this:\r\n\r\n1) Spotlight::Resources::Searchworks#to_solr with a single item should provide a solr document for the resource\r\n     Failure/Error: expect(subject.to_solr.first).to include :upstream, :spotlight_resource_id_ssim, :spotlight_resource_type_ssim\r\n     NoMethodError:\r\n       undefined method `to_solr' for #<SolrDocument:0x007fb1c9ad9620>\r\n     # /Users/ndushay/.rvm/gems/ruby-2.1.5/gems/blacklight-5.15.0/lib/blacklight/document.rb:55:in `method_missing'"},"comment":{"url":"https://api.github.com/repos/sul-dlss/spotlight-dor-resources/issues/comments/150645704","html_url":"https://github.com/sul-dlss/spotlight-dor-resources/pull/10#issuecomment-150645704","issue_url":"https://api.github.com/repos/sul-dlss/spotlight-dor-resources/issues/10","id":150645704,"user":{"login":"ndushay","id":96775,"avatar_url":"https://avatars.githubusercontent.com/u/96775?v=3","gravatar_id":"","url":"https://api.github.com/users/ndushay","html_url":"https://github.com/ndushay","followers_url":"https://api.github.com/users/ndushay/followers","following_url":"https://api.github.com/users/ndushay/following{/other_user}","gists_url":"https://api.github.com/users/ndushay/gists{/gist_id}","starred_url":"https://api.github.com/users/ndushay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndushay/subscriptions","organizations_url":"https://api.github.com/users/ndushay/orgs","repos_url":"https://api.github.com/users/ndushay/repos","events_url":"https://api.github.com/users/ndushay/events{/privacy}","received_events_url":"https://api.github.com/users/ndushay/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T17:50:51Z","updated_at":"2015-10-23T17:50:51Z","body":"turns out the trouble was we need ruby 2.2 and my local env was using ruby 2.1.  True fix in progress here:  https://github.com/sul-dlss/spotlight/pull/1203"}}