debian-mirror-gitlab/spec/views/search/_form.html.haml_spec.rb
2020-08-09 17:41:57 +05:30

14 lines
355 B
Ruby

# frozen_string_literal: true
require 'spec_helper'
RSpec.describe 'search/_form' do
context 'when the search page is opened' do
it 'displays the correct elements' do
render
expect(rendered).to have_selector('.search-field-holder.form-group')
expect(rendered).to have_selector('label[for="dashboard_search"]')
end
end
end