Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- movie = mock('Movie', :pics => [mock('Picture', :format => 'gif')])
- Movie.count_pics(movie).should == 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement