Skip to content

Commit

Permalink
Fix spec return code
Browse files Browse the repository at this point in the history
  • Loading branch information
jmthomas committed Sep 5, 2024
1 parent 9a770f6 commit 6c562a8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions openc3/spec/config/config_parser_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ module OpenC3
ConfigParser.progress_callback = nil
end

after(:each) do
ConfigParser.message_callback = nil
ConfigParser.progress_callback = nil
end

describe "parse_file", no_ext: true do
it "yields keyword, parameters to the block" do
tf = Tempfile.new('unittest')
Expand Down
1 change: 1 addition & 0 deletions openc3/spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ def kill_leftover_threads
alias old_exit exit
def exit(*args)
$system_exit_count += 1
super(*args)
end

RSpec.configure do |config|
Expand Down

0 comments on commit 6c562a8

Please sign in to comment.