Skip to content

Commit

Permalink
(maint) fix rspec around context warning
Browse files Browse the repository at this point in the history
  • Loading branch information
h0tw1r3 committed Apr 19, 2024
1 parent e4ebd0d commit 770abf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/acceptance/test_unit_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
include_context 'with a fake TTY'

shared_context 'with spec file' do |filename, content|
around(:all) do |example|
around do |example|
path = File.join('spec', 'unit', filename)
FileUtils.mkdir_p(File.dirname(path))
File.open(path, 'w') { |f| f.puts content }
Expand Down

0 comments on commit 770abf8

Please sign in to comment.