Sha256: 53a719ab6e25daa520ec199c9d47cd98c439c5f4f73978806aab2011ec1a7629
Contents?: true
Size: 448 Bytes
Versions: 5
Compression:
Stored size: 448 Bytes
Contents
require 'rails_helper' RSpec.feature 'Show Page', type: :feature do describe 'title', js: true do it 'shows the app name as its title' do Apidoco.app_name = 'MyApp API Documentation' DocumentationBuilder.create({}) # setting the minimum to load the page visit '/apidoco' expect(page).to have_title(Apidoco.app_name) expect(page).to have_text(Apidoco.app_name) # shows the title in the sidebar end end end
Version data entries
5 entries across 5 versions & 1 rubygems