Fixed spec_helper for tests without activemodel
Fixed spec_helper for tests without activemodel