From de8731edee2a7844de4772262718bcafb4c6c12a Mon Sep 17 00:00:00 2001 From: Danny Ben Shitrit Date: Wed, 18 Dec 2024 08:23:43 +0000 Subject: [PATCH] specs cleanup --- spec/bashly/settings_spec.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spec/bashly/settings_spec.rb b/spec/bashly/settings_spec.rb index 07a513cb..efa4f743 100644 --- a/spec/bashly/settings_spec.rb +++ b/spec/bashly/settings_spec.rb @@ -120,6 +120,8 @@ subject.env = :production end + after { subject.env = nil } + it 'returns true' do expect(subject.enabled? :header_comment).to be true end @@ -144,6 +146,8 @@ subject.env = :production end + after { subject.env = nil } + it 'returns false' do expect(subject.enabled? :header_comment).to be false end