1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00

Fix spec files naming and add missing pragmas

This commit is contained in:
Thomas Walpole 2018-04-18 13:45:35 -07:00
parent 71cd06202a
commit 526a2a98ea
18 changed files with 24 additions and 0 deletions

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
source 'https://rubygems.org'
gem 'bundler', '~> 1.1'

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rubygems'
require 'rspec/core/rake_task'
require 'cucumber/rake/task'

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'minitest/spec'
module Capybara

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
module Capybara
module Queries
class MatchQuery < Capybara::Queries::SelectorQuery

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
module Capybara
module RSpecMatchers
module Compound

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
module Capybara
class Selector
class CSS

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
Capybara::SpecHelper.spec '#assert_matches_selector' do
before do
@session.visit('/with_html')

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
Capybara::SpecHelper.spec '#match_css?' do
before do
@session.visit('/with_html')

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
Capybara::SpecHelper.spec '#match_xpath?' do
before do
@session.visit('/with_html')

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
Capybara::SpecHelper.spec '#match_selector?' do
before do
@session.visit('/with_html')

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
Capybara::SpecHelper.spec '#have_none_of_selectors' do
before do
@session.visit('/with_html')

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
Capybara::SpecHelper.spec Capybara::Selector do
before do
@session.visit('/form')