Skip to content

Commit

Permalink
[DO-NOT-MERGE] Comment out new tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AgaDufrat committed Sep 4, 2024
1 parent 5525966 commit 5d1e081
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions spec/tasks/etl_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -117,16 +117,16 @@
end
end

it "calls Etl::Main::MainProcessor.process for a single date" do
Rake::Task["etl:rerun_main"].invoke("2018-10-31")
# it "calls Etl::Main::MainProcessor.process for a single date" do
# Rake::Task["etl:rerun_main"].invoke("2018-10-31")

expect(processor).to have_received(:process).once.with(Date.new(2018, 10, 31))
end
# expect(processor).to have_received(:process).once.with(Date.new(2018, 10, 31))
# end

it "runs the aggregations process for a month" do
Rake::Task["etl:rerun_main"].invoke("2018-10-31")
# it "runs the aggregations process for a month" do
# Rake::Task["etl:rerun_main"].invoke("2018-10-31")

expect(processor).to have_received(:process_aggregations).once.with(Date.new(2018, 10, 31))
end
# expect(processor).to have_received(:process_aggregations).once.with(Date.new(2018, 10, 31))
# end
end
end

0 comments on commit 5d1e081

Please sign in to comment.