From 32cecbdcf6b3a56d8aa59a66c078212f0dae04ed Mon Sep 17 00:00:00 2001 From: Brandon Dunne Date: Wed, 19 Apr 2017 17:07:20 -0400 Subject: [PATCH] Remove extra cruft in activity_stream_spec.rb --- spec/activity_stream_spec.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/spec/activity_stream_spec.rb b/spec/activity_stream_spec.rb index c83e885..3ef61fd 100644 --- a/spec/activity_stream_spec.rb +++ b/spec/activity_stream_spec.rb @@ -1,9 +1,5 @@ describe AnsibleTowerClient::ActivityStream do - let(:url) { "example.com/api/v1/activity_stream" } - let(:api) { AnsibleTowerClient::Api.new(instance_double("Faraday::Connection")) } - let(:collection) { api.activity_stream } - let(:raw_url_collection) { build(:response_url_collection, :klass => described_class, :url => url) } - let(:raw_instance) { build(:response_instance, :group, :klass => described_class) } + let(:url) { "example.com/api/v1/activity_stream" } include_examples "Collection Methods" include_examples "Api Methods"