1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00
teamcapybara--capybara/spec/rspec/views_spec.rb
2016-03-07 16:52:19 -08:00

8 lines
234 B
Ruby

# 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