Skip to content

Commit 859a747

Browse files
mmagnmaatinito
authored andcommitted
remove no longer relevant test
1 parent a39b3e3 commit 859a747

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

spec/models/concerns/procedure_path_concern_spec.rb

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -47,22 +47,6 @@
4747
expect(result).to be_nil
4848
end
4949
end
50-
51-
context "when the migration is pending" do
52-
context "a procedure with the given path exists (but the path is not in the procedure_paths table)" do
53-
let!(:procedure) { create(:procedure) }
54-
55-
before do
56-
procedure.update_column("path", "path-not-in-procedure-paths")
57-
procedure.procedure_paths.delete_all
58-
end
59-
60-
it "returns the procedure" do
61-
expect(procedure.procedure_paths.count).to eq(0)
62-
expect(Procedure.find_with_path("path-not-in-procedure-paths").first).to eq(procedure)
63-
end
64-
end
65-
end
6650
end
6751

6852
describe 'path_customized?' do

0 commit comments

Comments
 (0)