require 'rails_helper' $LOAD_PATH << '../lib' require 'tag_manager' describe 'about/show.html.haml' do before do end it 'has valid open graph tags' do instance_presenter = double(:instance_presenter, site_description: 'something', open_registrations: false, closed_registrations_message: 'yes', ) assign(:instance_presenter, instance_presenter) render header_tags = view.content_for(:header_tags) expect(header_tags).to match(%r{}) expect(header_tags).to match(%r{}) expect(header_tags).to match(%r{}) expect(header_tags).to match(%r{}) end end