mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
Make rubocop happy.
This commit is contained in:
parent
22140efa70
commit
b18cc81609
1 changed files with 0 additions and 2 deletions
|
@ -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.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue