Sha256: 157edbc6c2dccf4d867d5d13797f97c5f698646e8b20d8c7dc90edadd8f7980b
Contents?: true
Size: 395 Bytes
Versions: 6
Compression:
Stored size: 395 Bytes
Contents
require 'spec_helper' describe 'list segments' do subject(:list_segments) { api.list_segments } context 'with success', :vcr do it 'responds with success' do expect(list_segments).to be_success end it 'responds with a list of segments' do expect(segments.count).to be 13 end def segments JSON.parse(list_segments.body)['segments'] end end end
Version data entries
6 entries across 6 versions & 1 rubygems