spec/support/examples_actions.rb in evostream-event-0.2.3 vs spec/support/examples_actions.rb in evostream-event-0.2.4.pre.31
- old
+ new
@@ -1,7 +1,7 @@
# frozen_string_literal: true
RSpec.shared_examples 'test request action' do
let(:request) { action.execute_action(action_name) }
- it { expect(request).to be_an_instance_of(Net::HTTPOK) }
+ it { expect(request).to be_kind_of(Hash) }
end