Topic: Beginner in Ruby on Rails

Hi all,

I'm new to ruby on rails. While running cucumber step_definition in console i get this error

undefined method `headers' for #<Object:0x143e9b0> (NoMethodError)
./features/step_definition/steps.rb:6:in `/^JSON is acceptable$/'
features\signin.feature:9:in `And JSON is acceptable'

Shall anyone please help to overcome this error.

Last edited by Tester (2011-12-13 02:18:22)