Skip to content
Snippets Groups Projects
Unverified Commit db817ea6 authored by Panos Kanellidis's avatar Panos Kanellidis Committed by Stan Hu
Browse files

Clear instance value

Changelog: other
parent de45c395
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -143,6 +143,10 @@ def base_models_for(table)
described_class.instance_variable_set(:@loose_foreign_keys_yaml, loose_foreign_keys_yaml)
end
 
after do
described_class.instance_variable_set(:@loose_foreign_keys_yaml, nil)
end
it 'raises Gitlab::Database::GitlabSchema::UnknownSchemaError error' do
expect { subject }.to raise_error(Gitlab::Database::GitlabSchema::UnknownSchemaError)
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment