Skip to content

Commit

Permalink
Remove unneeded deprecations setup from test
Browse files Browse the repository at this point in the history
  • Loading branch information
timriley committed Jun 18, 2024
1 parent f619cc8 commit 42c16c9
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions spec/unit/dry/configurable/dsl_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,6 @@
Dry::Configurable::DSL.new
end

let(:logger) { StringIO.new }

let(:logged) do
logger.rewind
logger.string
end

around(:each, :collect_deprecations) do |example|
Dry::Core::Deprecations.set_logger!(logger)

example.run
ensure
Dry::Core::Deprecations.set_logger!
end

it "compiles a setting with no options" do
setting = dsl.setting :user

Expand Down

0 comments on commit 42c16c9

Please sign in to comment.