arcane icon indicating copy to clipboard operation
arcane copied to clipboard

NoMethodError when running RSpec (ActionController::TestCase)

Open zeevallin opened this issue 10 years ago • 2 comments

Re-opening @caulfield's #7 for investigation

All my controller(and acceptance) specs was broken with error
> undefined method `as' for nil:NilClass

I'm using rspec-rails 2.13.2 and rails 4.0.0.

I found out that ActionController::TestCase (rspec uses it) instance fire `#params=` twice. nil first and expected params then.

I am not sure it's acrance bug, but I think we should handle nil and Arcane::Parametrs'able variables

zeevallin avatar Mar 17 '15 02:03 zeevallin

Is there an ETA for this? My whole test suite is broken...

ngw avatar Mar 20 '15 09:03 ngw

Ping

ngw avatar Mar 25 '15 09:03 ngw