Skip to content

Commit e42b0ae

Browse files
authored
Merge pull request #6 from we138/fix-typo-acrive/active
Fix typo acrive => archive
2 parents c70fab2 + 6b03fd6 commit e42b0ae

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

lib/vacancies/operations/acrive_for_today.rb renamed to lib/vacancies/operations/archive_for_today.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
module Vacancies
44
module Operations
5-
class AcriveForToday < ::Libs::Operation
5+
class ArchiveForToday < ::Libs::Operation
66
include Import[
77
vacancy_repo: 'repositories.vacancy'
88
]

lib/vacancies/workers/vacancies_archivator.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class VacanciesArchivator
99
include Import[
1010
:logger,
1111
:rollbar,
12-
operation: 'vacancies.operations.acrive_for_today'
12+
operation: 'vacancies.operations.archive_for_today'
1313
]
1414

1515
def perform

spec/vacancies/operations/acrive_for_today_spec.rb renamed to spec/vacancies/operations/archive_for_today_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
RSpec.describe Vacancies::Operations::AcriveForToday, type: :operation do
3+
RSpec.describe Vacancies::Operations::ArchiveForToday, type: :operation do
44
subject { operation.call }
55

66
let(:operation) { described_class.new(vacancy_repo: vacancy_repo) }

spec/vacancies/workers/vacancies_archivator_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
subject { worker.perform }
55

66
let(:worker) { described_class.new(operation: operation, logger: logger, rollbar: rollbar) }
7-
let(:operation) { instance_double('Vacancies::Operations::AcriveForToday', call: result) }
7+
let(:operation) { instance_double('Vacancies::Operations::ArchiveForToday', call: result) }
88
let(:logger) { double(:logger, info: true, error: true) }
99
let(:rollbar) { double(:rollbar, info: true, error: true) }
1010

0 commit comments

Comments
 (0)