Lol. I need another coffee. The should's needed to be above the post.
:-)
Tim.
On Thu, Sep 18, 2008 at 3:23 PM, Tim Haines <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> I'm striking a wee problem - and haven't been able to figure it out. In my
> before statement I'm setting up a mock video. I'd
On Wed, Sep 17, 2008 at 8:23 PM, Tim Haines <[EMAIL PROTECTED]> wrote:
> it "should update the original video and save the video" do
> post :upload_video, :video_id => 'hi', :Filedata => @video_file
> @vid.should_receive(:original=)
> @vid.should_receive(:save!)
>
Hi there,
I'm striking a wee problem - and haven't been able to figure it out. In my
before statement I'm setting up a mock video. I'd like one of my examples
to check that original= and save! are being called on the mock video, so I
have an example that looks like this:
it "should update