Sha256: 96dca81ca777c282751b6b93197982985b9f1eee7a468d6fdfdd7af010ece304
Contents?: true
Size: 398 Bytes
Versions: 4
Compression:
Stored size: 398 Bytes
Contents
RSpec.describe SoapyBing::Soap::Response::Base do before { stub_const('MyCustomResponse', Class.new(described_class) {}) } let(:response_body) { 'Some response body' } let(:my_custom_response) { MyCustomResponse.new(response_body) } describe '#body' do subject { my_custom_response.body } it 'keeps initialized value' do expect(subject).to eq response_body end end end
Version data entries
4 entries across 4 versions & 1 rubygems