Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while extending step definitions in Rails project #20

Open
emilsoman opened this issue Aug 2, 2013 · 1 comment
Open

Error while extending step definitions in Rails project #20

emilsoman opened this issue Aug 2, 2013 · 1 comment

Comments

@emilsoman
Copy link

If I copy the step definition that makes the request from the gem and paste it in the features/step_definitions/custom_steps.rb (with some parameter modifications) and use this custom step in a scenario, the JSON response step throws the following error :

No response yet. Request a page first. (Rack::Test::Error)

I can see that the controller action is receiving the request and a Rack::MockSession is created. Any clue why the error occurs ?

I know it's hard to understand the problem with such a vague description. Please let me know what other information will be helpful to point out the problem here. Thanks !

@jandillmann
Copy link

I have the same problem – does anyone know a solution for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants