Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/lib/gitlab/integrations/sti_type_spec.rb')
-rw-r--r--spec/lib/gitlab/integrations/sti_type_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/lib/gitlab/integrations/sti_type_spec.rb b/spec/lib/gitlab/integrations/sti_type_spec.rb
index 3154872ed04..70b93d6a4b5 100644
--- a/spec/lib/gitlab/integrations/sti_type_spec.rb
+++ b/spec/lib/gitlab/integrations/sti_type_spec.rb
@@ -9,7 +9,7 @@ RSpec.describe Gitlab::Integrations::StiType do
context 'SQL SELECT' do
let(:expected_sql) do
<<~SQL.strip
- SELECT "services".* FROM "services" WHERE "services"."type" = 'AsanaService'
+ SELECT "integrations".* FROM "integrations" WHERE "integrations"."type" = 'AsanaService'
SQL
end
@@ -25,7 +25,7 @@ RSpec.describe Gitlab::Integrations::StiType do
context 'SQL CREATE' do
let(:expected_sql) do
<<~SQL.strip
- INSERT INTO "services" ("type") VALUES ('AsanaService')
+ INSERT INTO "integrations" ("type") VALUES ('AsanaService')
SQL
end
@@ -42,7 +42,7 @@ RSpec.describe Gitlab::Integrations::StiType do
context 'SQL UPDATE' do
let(:expected_sql) do
<<~SQL.strip
- UPDATE "services" SET "type" = 'AsanaService'
+ UPDATE "integrations" SET "type" = 'AsanaService'
SQL
end
@@ -61,7 +61,7 @@ RSpec.describe Gitlab::Integrations::StiType do
context 'SQL DELETE' do
let(:expected_sql) do
<<~SQL.strip
- DELETE FROM "services" WHERE "services"."type" = 'AsanaService'
+ DELETE FROM "integrations" WHERE "integrations"."type" = 'AsanaService'
SQL
end