Moving to new controller in functional test

B

Ben Burdick

I have been banging my head on this...

post {:controller => 'login', :action => 'login'}, {:invite_id =>
@invite_to_lee_space.id}

is a line that is giving me syntax errors in a functional test - i
cannot see why though - any thought?
 
A

Ara.T.Howard

I have been banging my head on this...

post {:controller => 'login', :action => 'login'}, {:invite_id => > @invite_to_lee_space.id}

is a line that is giving me syntax errors in a functional test - i cannot see
why though - any thought?

post(
{:controller => 'login', :action => 'login'},
{:invite_id => > @invite_to_lee_space.id}
)

ruby thinks the first hash is a block passed to 'post'.

hth.

-a
--
===============================================================================
| email :: ara [dot] t [dot] howard [at] noaa [dot] gov
| phone :: 303.497.6469
| Your life dwells amoung the causes of death
| Like a lamp standing in a strong breeze. --Nagarjuna
===============================================================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top