Remove dependency on activemodel
Remove dependency on activemodel

This dependency has been introduced by John Firebaugh in commit 4549965af169019c7f3d679371e4650057d176b2 because lib/rspec/rails/mocks.rb required it.

But this file was removed in commit 29c175832f55d180473f35c22d1b88245a828917.

Currently rspec-rails will check for defined?(::ActiveModel) before patching/extending it.

The dependency on activemodel will install unnecessary gems for some applications and will also trigger some bugs in Bundler which would prevent pre releases of railties to be installed with rspec-rails.

powershop/rspec-rails,jasnow/rspec-rails,pjaspers/rspec-rails,mcfiredrill/rspec-rails,sopheak-se/rspec-rails,DarthSim/rspec-rails,jamelablack/rspec-rails,rspec/rspec-rails,rspec/rspec-rails,aceofspades/rspec-rails,sopheak-se/rspec-rails,tjgrathwell/rspec-rails,sarahmei/rspec-rails,DarthSim/rspec-rails,dcrec1/rspec-rails-1,unite-us/rspec-rails,gkunwar/rspec-rails,pjaspers/rspec-rails,Kriechi/rspec-rails,jdax/rspec-rails,mcfiredrill/rspec-rails,sarahmei/rspec-rails,mkyaw/rspec-rails,grantgeorge/rspec-rails,KlotzAndrew/rspec-rails,unite-us/rspec-rails,grantgeorge/rspec-rails,gkunwar/rspec-rails,aceofspades/rspec-rails,sopheak-se/rspec-rails,jamelablack/rspec-rails,tjgrathwell/rspec-rails,powershop/rspec-rails,eliotsykes/rspec-rails,ipmobiletech/rspec-rails,jamelablack/rspec-rails,unite-us/rspec-rails,jpbamberg1993/rspec-rails,powershop/rspec-rails,jpbamberg1993/rspec-rails,grantgeorge/rspec-rails,KlotzAndrew/rspec-rails,AEgan/rspec-rails,DarthSim/rspec-rails,ipmobiletech/rspec-rails,Kriechi/rspec-rails,KlotzAndrew/rspec-rails,ipmobiletech/rspec-rails,jdax/rspec-rails,aceofspades/rspec-rails,rspec/rspec-rails,mkyaw/rspec-rails,AEgan/rspec-rails,AEgan/rspec-rails,eliotsykes/rspec-rails,mkyaw/rspec-rails,dcrec1/rspec-rails-1,maclover7/rspec-rails,maclover7/rspec-rails,jpbamberg1993/rspec-rails,tjgrathwell/rspec-rails,dcrec1/rspec-rails-1,jasnow/rspec-rails,mcfiredrill/rspec-rails,Kriechi/rspec-rails,pjaspers/rspec-rails,maclover7/rspec-rails,eliotsykes/rspec-rails,jasnow/rspec-rails,gkunwar/rspec-rails,sarahmei/rspec-rails,jdax/rspec-rails