SU2-2 | Скрипт интегрирован в sidekiq, создан простой интерфейс на взаимодействие с SK, тест на нескольких ИНН

This commit is contained in:
Dmitry
2025-11-28 17:22:47 +03:00
parent 6758e271fa
commit 7f6e386250
15 changed files with 208 additions and 3 deletions
+15
View File
@@ -0,0 +1,15 @@
require 'rails_helper'
# Specs in this file have access to a helper object that includes
# the ReportsHelper. For example:
#
# describe ReportsHelper do
# describe "string concat" do
# it "concats two strings with spaces" do
# expect(helper.concat_strings("this","that")).to eq("this that")
# end
# end
# end
RSpec.describe ReportsHelper, type: :helper do
pending "add some examples to (or delete) #{__FILE__}"
end
+11
View File
@@ -0,0 +1,11 @@
require 'rails_helper'
RSpec.describe "Reports", type: :request do
describe "GET /create" do
it "returns http success" do
get "/reports/create"
expect(response).to have_http_status(:success)
end
end
end
+4
View File
@@ -0,0 +1,4 @@
require 'rails_helper'
RSpec.describe FileProcessorJob, type: :job do
pending "add some examples to (or delete) #{__FILE__}"
end
@@ -0,0 +1,5 @@
require 'rails_helper'
RSpec.describe "reports/create.html.tailwindcss", type: :view do
pending "add some examples to (or delete) #{__FILE__}"
end