Skip to content

Commit

Permalink
Merge pull request #19002 from department-of-veterans-affairs/dev-sup…
Browse files Browse the repository at this point in the history
…port/skipped-test-updates-2

Remove deprecated stats specs - APPEALS/25431 (#18998)
  • Loading branch information
craigrva authored Jul 17, 2023
2 parents dd103f5 + c2c07e6 commit d52267f
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 385 deletions.
13 changes: 12 additions & 1 deletion spec/controllers/hearings/schedule_periods_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
let!(:ro_schedule_period) { create(:ro_schedule_period) }
let!(:judge_stuart) { create(:user, :with_vacols_judge_record, full_name: "Stuart Huels", css_id: "BVAHUELS") }
let!(:judge_doris) { create(:user, :with_vacols_judge_record, full_name: "Doris Lamphere", css_id: "BVALAMPHERE") }
before(:all) do
# clean up is required as Hearing day ID is hard coded in the spreadsheet file.
# if for some reason the database's table pk is not reset then it will cause test failure.

clean_up_hearing_days
end

shared_context "hearing_days" do
let!(:hearing_days) do
Expand Down Expand Up @@ -121,7 +127,7 @@
context "judge assignment" do
include_context "hearing_days"

it "stages hearing days for judge assignment", skip: "flake" do
it "stages hearing days for judge assignment" do
base64_header = "data:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;base64,"
post :create, params: {
schedule_period: {
Expand Down Expand Up @@ -230,4 +236,9 @@
expect(response.status).to eq 200
end
end

def clean_up_hearing_days
HearingDay.delete_all
ActiveRecord::Base.connection.reset_pk_sequence!(HearingDay.table_name)
end
end
186 changes: 0 additions & 186 deletions spec/feature/certification/certification_stats_spec.rb

This file was deleted.

46 changes: 0 additions & 46 deletions spec/feature/dispatch/dispatch_stats_spec.rb

This file was deleted.

50 changes: 0 additions & 50 deletions spec/models/certification_stats_spec.rb

This file was deleted.

Loading

0 comments on commit d52267f

Please sign in to comment.