Skip to content

Commit 0b97786

Browse files
committed
Rubocop fixes
1 parent 90a5209 commit 0b97786

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/requests/better_together/navigation_areas_controller_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
area = BetterTogether::NavigationArea.find_by(identifier: 'main-nav')
3838
expect(area).to be_present
3939
expect(area.style).to eq('primary')
40-
expect(area.visible).to eq(true)
40+
expect(area.visible).to be(true)
4141
end
4242

4343
it 'renders new on invalid params (HTML 200)' do
@@ -60,7 +60,7 @@
6060
expect(response).to have_http_status(:ok)
6161

6262
expect(area.reload.style).to eq('secondary')
63-
expect(area.reload.visible).to eq(false)
63+
expect(area.reload.visible).to be(false)
6464
end
6565

6666
it 'renders edit on invalid params (HTML 200)' do

0 commit comments

Comments
 (0)