Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'spec_helper'
- describe Movie do
- describe 'searching Tmdb by keyword' do
- it 'should call Tmdb with title keywords' do
- TmdbMovie.should_receive(:find).with(hash_including :title => 'Inception')
- Movie.find_in_tmdb('Inception')
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment