Browse Source

Linter: Argument alignment in unrelated test

develop
Bèr Kessels 3 months ago
parent
commit
c6bfbbb292
1 changed files with 4 additions and 3 deletions
  1. 4
    3
      test/integration/web/view_places_test.rb

+ 4
- 3
test/integration/web/view_places_test.rb View File

@@ -19,7 +19,7 @@ describe 'web view places' do

# SEO and title
assert_title page, 'Openingstijden'
assert_selector page, 'h1.title', text: 'Openingstijden'
assert_selector page, 'h1.title', text: 'Openingstijden'

# Breadcrumb
assert_selector page, 'nav ol.breadcrumb a', text: 'Openingstijden'
@@ -28,8 +28,9 @@ describe 'web view places' do

# Name and Address
assert_selector page, 'h2', text: 'H&M'
assert_selector page, 'address',
text: 'Burchtstraat 1 , 6511RA Nijmegen'
assert_selector page,
'address',
text: 'Burchtstraat 1 , 6511RA Nijmegen'

# A badge with class success means open.
assert_selector page, 'span.badge-success', text: 'Open'

Loading…
Cancel
Save