
エントリーの編集

エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
Rails : RuntimeError - can't modify frozen Array when running rspec in rails
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています

- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Rails : RuntimeError - can't modify frozen Array when running rspec in rails
I recently upgraded to Rails 5.1 from v4.3 and am now getting this error when running tests: An e... I recently upgraded to Rails 5.1 from v4.3 and am now getting this error when running tests: An error occurred while loading ./spec/controllers/admin/capacity_charges_controller_spec.rb. Failure/Error: require File.expand_path('../../config/environment', __FILE__) RuntimeError: can't modify frozen Array I get it for every test file. The line that triggers the error comes from rails_helper. I've ch