Sha256: d22db8ec6bdfcf0d5b4f71d7032f262ac574249e416bbbe2c54aff750489f954

Contents?: true

Size: 503 Bytes

Versions: 5

Compression:

Stored size: 503 Bytes

Contents

# typed: false
# frozen_string_literal: true

require './spec/spec_setup'
require 'lib/frontman/renderers/renderer'

describe Frontman::Renderer do
  it 'should raise an error when we try to compile' do
    expect { Frontman::Renderer.instance.compile('fakelayout') }.to raise_error RuntimeError
  end

  it 'should raise an error when we try to render content' do
    mock = 'fake'
    expect { Frontman::Renderer.instance.render_content(mock, mock, mock, mock) }.to raise_error RuntimeError
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
frontman-ssg-0.1.1 spec/frontman/renderers/renderer_spec.rb
frontman-ssg-0.1.0 spec/frontman/renderers/renderer_spec.rb
frontman-ssg-0.0.4 spec/frontman/renderers/renderer_spec.rb
frontman-ssg-0.0.3 spec/frontman/renderers/renderer_spec.rb
frontman-ssg-0.0.2 spec/frontman/renderers/renderer_spec.rb