> hit = mock('hit')
> hit.stub(:stored) { 5 }
> hit.stored.should eq(5)
>
> Make sense?Of course :-) Thanks. _______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
