ruby - Loading testing environment in rails -


i trying load test environment unit testing , used several commands 1. rails_env = test 2. rails console test 3. rails_env=test rails console

i getting same error each time(undefined method 'symbolize keys').

can let me know load test environment ?

if using automated testing, test environment loaded automatically. if want switch test environment in console:

rails console test 

the error telling me there wrong in code.


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -