We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e21d91e commit 764be55Copy full SHA for 764be55
spec/features/top_spec.rb
@@ -2,9 +2,13 @@
2
3
RSpec.feature "Top", type: :feature do
4
describe "GET /" do
5
- scenario "Sponser links should be exist" do
+ scenario "Each section should exist" do
6
visit "/"
7
- expect(page).to have_css 'section.sponsors_logo a[href]'
+ expect(page).to have_title 'CoderDojo Japan'
8
+ expect(page).to have_text '全国の道場'
9
+ expect(page).to have_css 'section.sponsors_logo a[href]'
10
+ expect(page).to have_text '問い合わせ'
11
+ expect(page).to have_text '一般社団法人'
12
end
13
14
0 commit comments