Commit b308ccc3 authored by Dylan Griffith's avatar Dylan Griffith Committed by Adam Hegyi

Fix typo in prevent_cross_database_modification_spec

parent 47c7b5cc
...@@ -6,7 +6,7 @@ RSpec.describe 'Database::PreventCrossDatabaseModification' do ...@@ -6,7 +6,7 @@ RSpec.describe 'Database::PreventCrossDatabaseModification' do
let_it_be(:pipeline, refind: true) { create(:ci_pipeline) } let_it_be(:pipeline, refind: true) { create(:ci_pipeline) }
let_it_be(:project, refind: true) { create(:project) } let_it_be(:project, refind: true) { create(:project) }
shared_examples 'succeessful examples' do shared_examples 'successful examples' do
context 'outside transaction' do context 'outside transaction' do
it { expect { run_queries }.not_to raise_error } it { expect { run_queries }.not_to raise_error }
end end
...@@ -36,7 +36,7 @@ RSpec.describe 'Database::PreventCrossDatabaseModification' do ...@@ -36,7 +36,7 @@ RSpec.describe 'Database::PreventCrossDatabaseModification' do
project.reload project.reload
end end
include_examples 'succeessful examples' include_examples 'successful examples'
end end
context 'when only CI data is modified' do context 'when only CI data is modified' do
...@@ -45,7 +45,7 @@ RSpec.describe 'Database::PreventCrossDatabaseModification' do ...@@ -45,7 +45,7 @@ RSpec.describe 'Database::PreventCrossDatabaseModification' do
project.reload project.reload
end end
include_examples 'succeessful examples' include_examples 'successful examples'
end end
context 'when other data is modified' do context 'when other data is modified' do
...@@ -54,7 +54,7 @@ RSpec.describe 'Database::PreventCrossDatabaseModification' do ...@@ -54,7 +54,7 @@ RSpec.describe 'Database::PreventCrossDatabaseModification' do
project.touch project.touch
end end
include_examples 'succeessful examples' include_examples 'successful examples'
end end
describe 'with_cross_database_modification_prevented block' do describe 'with_cross_database_modification_prevented block' do
...@@ -145,7 +145,7 @@ RSpec.describe 'Database::PreventCrossDatabaseModification' do ...@@ -145,7 +145,7 @@ RSpec.describe 'Database::PreventCrossDatabaseModification' do
project.save! project.save!
end end
include_examples 'succeessful examples' include_examples 'successful examples'
end end
describe '#allow_cross_database_modification_within_transaction' do describe '#allow_cross_database_modification_within_transaction' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment