Skip to content

Commit

Permalink
specs cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
DannyBen committed Dec 18, 2024
1 parent 632226b commit de8731e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/bashly/settings_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit de8731e

Please sign in to comment.