Skip to content

Commit

Permalink
Merge pull request #23048 from Fryguy/fail_providers_on_seed_fail
Browse files Browse the repository at this point in the history
Fail providers on seeding failure
  • Loading branch information
kbrock authored May 26, 2024
2 parents 671a04b + 509d93c commit 4b4e1fb
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 4b4e1fb

Please sign in to comment.