#85 new
paul (at 8thlight)

Stubbing scene opened methods

Reported by paul (at 8thlight) | December 8th, 2008 @ 01:08 PM

We need to stub a method that gets called in scene open. we want to pass scene open a block.

describe Ticket do uses_scene :ticket do

Class.stub!(:fire_missle_at_micah)

end

before(:each) do

end end

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Elegant UI Framework for Ruby

People watching this ticket

Pages