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
Post a Comment