spec/linodeapi/raw_spec.rb in linodeapi-1.0.0 vs spec/linodeapi/raw_spec.rb in linodeapi-1.0.1
- old
+ new
@@ -40,11 +40,11 @@
expect(subject.to_s).to eql 'LinodeAPI::Raw object'
expect(subject.inspect).to eql 'LinodeAPI::Raw object'
end
it 'accurately responds to .respond_to?' do
- expect(subject.respond_to? :linode).to be_truthy
- expect(subject.respond_to? :list).to be_falsey
+ expect(subject.respond_to?(:linode)).to be_truthy
+ expect(subject.respond_to?(:list)).to be_falsey
end
it 'returns arrays for list calls' do
VCR.use_cassette('linode_list') do
expect(subject.linode.list.class).to eql Array