Sha256: 6c753b1848b3217edc80308bd0d425641cd87ffb3b4f7a8e93838621b4e41c38

Contents?: true

Size: 234 Bytes

Versions: 20

Compression:

Stored size: 234 Bytes

Contents

# frozen_string_literal: true
require 'spec_helper'

RSpec.describe "capybara/rspec", type: :view do
  it "allows matchers to be used on strings" do
    expect(%{<h1>Test header</h1>}).to have_css("h1", text: "Test header")
  end
end

Version data entries

20 entries across 19 versions & 3 rubygems

Version Path
tdiary-5.0.5 vendor/bundle/gems/capybara-2.13.0/spec/rspec/views_spec.rb
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/capybara-2.13.0/spec/rspec/views_spec.rb
tdiary-5.0.4 vendor/bundle/gems/capybara-2.13.0/spec/rspec/views_spec.rb
capybara-2.13.0 spec/rspec/views_spec.rb
capybara-2.12.1 spec/rspec/views_spec.rb
capybara-2.12.0 spec/rspec/views_spec.rb
capybara-2.11.0 spec/rspec/views_spec.rb
capybara-2.10.2 spec/rspec/views_spec.rb
capybara-2.10.1 spec/rspec/views_spec.rb
capybara-2.10.0 spec/rspec/views_spec.rb
capybara-2.9.2 spec/rspec/views_spec.rb
tdiary-5.0.2 vendor/bundle/gems/capybara-2.8.0/spec/rspec/views_spec.rb
capybara-2.9.1 spec/rspec/views_spec.rb
capybara-2.9.0 spec/rspec/views_spec.rb
capybara-2.8.1 spec/rspec/views_spec.rb
capybara-2.8.0 spec/rspec/views_spec.rb
tdiary-5.0.1 vendor/bundle/gems/capybara-2.7.1/spec/rspec/views_spec.rb
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/capybara-2.7.1/spec/rspec/views_spec.rb
capybara-2.7.1 spec/rspec/views_spec.rb
capybara-2.7.0 spec/rspec/views_spec.rb