{"action":"created","issue":{"url":"https://api.github.com/repos/gds-operations/vcloud-tools-tester/issues/22","repository_url":"https://api.github.com/repos/gds-operations/vcloud-tools-tester","labels_url":"https://api.github.com/repos/gds-operations/vcloud-tools-tester/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/gds-operations/vcloud-tools-tester/issues/22/comments","events_url":"https://api.github.com/repos/gds-operations/vcloud-tools-tester/issues/22/events","html_url":"https://github.com/gds-operations/vcloud-tools-tester/issues/22","id":39831360,"number":22,"title":"Stub_chain ties `fixture_parameters_spec.rb` too closely to implementation","user":{"login":"annashipman","id":719118,"avatar_url":"https://avatars.githubusercontent.com/u/719118?v=3","gravatar_id":"","url":"https://api.github.com/users/annashipman","html_url":"https://github.com/annashipman","followers_url":"https://api.github.com/users/annashipman/followers","following_url":"https://api.github.com/users/annashipman/following{/other_user}","gists_url":"https://api.github.com/users/annashipman/gists{/gist_id}","starred_url":"https://api.github.com/users/annashipman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annashipman/subscriptions","organizations_url":"https://api.github.com/users/annashipman/orgs","repos_url":"https://api.github.com/users/annashipman/repos","events_url":"https://api.github.com/users/annashipman/events{/privacy}","received_events_url":"https://api.github.com/users/annashipman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gds-operations/vcloud-tools-tester/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-08-08T15:02:01Z","updated_at":"2016-02-26T15:40:39Z","closed_at":"2016-02-26T15:40:38Z","body":"While upgrading vCloud Tools Tester to use vCloud Core's new `ApiInterface.rb` rather than `Vcloud::Core::Fog::ModelInterface` directly, we found that the `fixture_parameters_spec.rb` was hard to update because it uses [stub_chain](http://apidock.com/rspec/Spec/Mocks/Methods/stub_chain). It looks like to use the API interface we'd have to work out the order of methods called and stub those in order, thus defeating the purpose of having an API interface.\r\n\r\nWe have left it as is for now, but would like to find a way to test this without tying the test so closely to the exact implementation of vCloud Core fog code and fog code itself."},"comment":{"url":"https://api.github.com/repos/gds-operations/vcloud-tools-tester/issues/comments/189326909","html_url":"https://github.com/gds-operations/vcloud-tools-tester/issues/22#issuecomment-189326909","issue_url":"https://api.github.com/repos/gds-operations/vcloud-tools-tester/issues/22","id":189326909,"user":{"login":"deanwilson","id":48871,"avatar_url":"https://avatars.githubusercontent.com/u/48871?v=3","gravatar_id":"","url":"https://api.github.com/users/deanwilson","html_url":"https://github.com/deanwilson","followers_url":"https://api.github.com/users/deanwilson/followers","following_url":"https://api.github.com/users/deanwilson/following{/other_user}","gists_url":"https://api.github.com/users/deanwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/deanwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deanwilson/subscriptions","organizations_url":"https://api.github.com/users/deanwilson/orgs","repos_url":"https://api.github.com/users/deanwilson/repos","events_url":"https://api.github.com/users/deanwilson/events{/privacy}","received_events_url":"https://api.github.com/users/deanwilson/received_events","type":"User","site_admin":false},"created_at":"2016-02-26T15:40:38Z","updated_at":"2016-02-26T15:40:38Z","body":"Thank you for your interest in this project but we now consider it\r\nboth feature complete for our own usage and in maintenance mode.\r\nWhile we will not be investing any more development time in this\r\nproject we may still include pull requests."}}