Sha256: c1f0d3e9f5d6d9e9ca1bf342cf93ec186529bfd7a619bb8941eafaf4b1d90c12
Contents?: true
Size: 536 Bytes
Versions: 1
Compression:
Stored size: 536 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe Tangerine::Video do authenticate! context 'class methods' do subject { Tangerine::Video } describe '.all' do let(:mock_response) { mock } let(:params) { {'contentType' => 'Video'} } subject { Tangerine::Video.all } before { Tangerine.should_receive(:query).with(params).and_return(mock_response) } it 'returns the response of the query' do subject.should == mock_response end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tangerine-0.4.0 | spec/tangerine/video_spec.rb |