Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Event.should_receive(:only).with(:street, :location, :postal_code, :place_name).and_return(criteria_mock = mock("Criteria"))
- criteria_mock.should_receive(:limit).with(100).and_return(criteria_mock)
Add Comment
Please, Sign In to add comment