Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Stubbing scene opened methods

#85

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

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

State: new
Milestone: none
Assigned to: nobody

Activity

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.