[rspec-users] Problems with array mock

Gaston Ramos gramos at rectorado.unl.edu.ar
Mon Aug 6 13:17:15 EDT 2007

Hi everyone,

I'm trying this in my helper spec and it didn't work:


and the error is:

SyntaxError in 'PersonHelper Deberia devolverme un link para eliminar una foto'
compile error
syntax error, unexpected '[', expecting '\n' or ';'
          def photos[1](*args, &block)

does anyone have a good solution for this?

the complete code of the helper:


the complete code of the spec helper:


See you.
Gastón Ramos

GNU/Linux Counter user #450312

No a la Matricula Obligatoria 

More information about the rspec-users mailing list