Sha256: 84db16b519da4c34a99912b12811d1077a758e5de608b67a27c4ac7f1526ca3d

Contents?: true

Size: 291 Bytes

Versions: 7

Compression:

Stored size: 291 Bytes

Contents

require "spec_helper"

RSpec.describe Web::Views::ApplicationLayout, type: :view do
  let(:layout)   { Web::Views::ApplicationLayout.new({ format: :html }, "contents") }
  let(:rendered) { layout.render }

  it 'contains application name' do
    expect(rendered).to include('Web')
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
flagsmith-4.0.1 example/spec/web/views/application_layout_spec.rb
flagsmith-4.0.0 example/spec/web/views/application_layout_spec.rb
flagsmith-3.2.0 example/spec/web/views/application_layout_spec.rb
flagsmith-3.1.1 example/spec/web/views/application_layout_spec.rb
flagsmith-3.1.0 example/spec/web/views/application_layout_spec.rb
flagsmith-3.0.1 example/spec/web/views/application_layout_spec.rb
flagsmith-3.0.0 example/spec/web/views/application_layout_spec.rb