Skip to content

Commit

Permalink
Fail providers on seeding failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Fryguy committed May 24, 2024
1 parent 671a04b commit 509d93c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions spec/lib/evm_database_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,9 @@
expect { described_class.seed(["VmOrTemplate"]) }.to raise_error(ArgumentError, /do not respond to seed/)
end

# this spec takes about 30 seconds but is the only check that db:seed won't fail
it "doesn't fail" do
expect do
described_class.seed
end.not_to raise_error
# this spec takes about 20 seconds but is the only check that db:seed won't fail
it "doesn't fail", :providers_common => true do
described_class.seed
end
end

Expand Down

0 comments on commit 509d93c

Please sign in to comment.