Make rubocop happy.

This commit is contained in:
Guo Xiang Tan 2017-12-04 10:55:31 +08:00
parent 22140efa70
commit b18cc81609
1 changed files with 0 additions and 2 deletions

View File

@ -153,8 +153,6 @@ describe ActiveRecord::ConnectionHandling do
describe '.verify_replica' do
describe 'when database is not in recovery' do
it 'should raise the right error' do
expect do
ActiveRecord::Base.send(:verify_replica, ActiveRecord::Base.connection)
end.to raise_error(RuntimeError, "Replica database server is not in recovery mode.")