Skip to content

Commit de8731e

Browse files
committed
specs cleanup
1 parent 632226b commit de8731e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

spec/bashly/settings_spec.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@
120120
subject.env = :production
121121
end
122122

123+
after { subject.env = nil }
124+
123125
it 'returns true' do
124126
expect(subject.enabled? :header_comment).to be true
125127
end
@@ -144,6 +146,8 @@
144146
subject.env = :production
145147
end
146148

149+
after { subject.env = nil }
150+
147151
it 'returns false' do
148152
expect(subject.enabled? :header_comment).to be false
149153
end

0 commit comments

Comments
 (0)