Hi,
Its maybe not related to rspec but I can't figure out how to fix it. Here
is,
In my helper(Rails) I got the piece of code :
sortie += link_to(entete_colonne + " " + image_sens_tri,*
client_journal_activites_path*(:ordre_tri => nom_colonne, :sens_tri =>
params[:sens_tri],:filtre => pa
Sorry I mean
rails 2.3.5 with rspec 1.3.0, rspec-rails 1.3.2
On Fri, Jun 11, 2010 at 11:37 AM, Remi Gagnon wrote:
> I'm on rails 2.3.5 with rspec 1.3.0, rspec 1.3.2
>
> No, the route def is not aware of these extra params, but it works. But
> I'm not sure it is cl
msky wrote:
> On Jun 11, 2010, at 9:34 AM, Remi Gagnon wrote:
>
> Hi,
>
> Its maybe not related to rspec but I can't figure out how to fix it. Here
> is,
>
> In my helper(Rails) I got the piece of code :
>
> sortie += link_to(entete_colonne + " &q
I want to mock to Model.to_xml but not his block. How to do it?
Here is what I have (sorry for the formatting)
output = @detenteur.to_xml( :skip_types => false, :skip_instruct
=> true, :dasherize => false, :only => [:inte_no] ) do |xml_detenteur|
p xml_detenteur.intervenant_adresse
Hi,
I have a recursive method and I want to mock a var passed by ref.
Object.should_receive(:my_method).and_return"by_ref"(@value)
Something like that.
Any idea?
Rémi
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/
Hello,
This is a question from one of my teammate, I'll revalidate tomorrow with
him what is his issue.
Thank you
Rémi
On Sun, Feb 8, 2009 at 10:02 AM, David Chelimsky wrote:
> On Sun, Feb 8, 2009 at 6:48 AM, Remi Gagnon wrote:
> > Hi,
> >
> > I have a recursive m
Hi guys,
its probably a miss understanding of the framework but I need your
assistance.
Here is the problem of one of my teammates:
I have a hard time writing rspecs for a class I developed. The class in
question reads an xml document, instanciates the model classes found in the
xml and saves the
Hi guys,
its probably a miss understanding of the framework but I need your
assistance.
Here is the problem of one of my teammates:
I have a hard time writing rspecs for a class I developed. The class in
question reads an xml document, instanciates the model classes found in the
xml and saves th
Thank you David,
You are right we are dealing with some code that need to be refactored.
We will dig deeper to have more info about this Callbackchain problem
Rémi
On Wed, Feb 11, 2009 at 12:05 AM, David Chelimsky wrote:
> On Tue, Feb 10, 2009 at 9:03 AM, Remi Gagnon wrote:
> >
It works thanks for the hints
Rémi
On Wed, Feb 11, 2009 at 8:21 PM, Pat Maddox wrote:
> On Sat, Feb 7, 2009 at 3:47 AM, rgagnon wrote:
> > I have this and I want to mock the to_xml but not his block cause this
> > is what I want to spec. Is there a way to do this?
>
> Use and_yield to yield a
Let me share my experience.
On my side we do produce 3 documents before starting with rspec.
1- A web designer creates a design for a screen in conjunction with the
marketing team and the analyst assigned to the this feature. The marketing
dep, acts as the customer.
2-The analyst produce a "wor
11 matches
Mail list logo