Sha256: 79fd295d558275281e6cd674fdc733a6e706201b196364cc1d101578267edf9d

Contents?: true

Size: 519 Bytes

Versions: 9

Compression:

Stored size: 519 Bytes

Contents

require 'test_helper'

class ConfigurationTest < ActionDispatch::IntegrationTest
  test 'renders markdown with kramdown' do
    get '/header-title'
    assert_match '<h1 id="a-title-header">A title header</h1>', response.body
  end

  test 'renders codeblocks with rouge' do
    get '/code-block'
    assert_match '<span class="k">def</span>', response.body
  end

  test 'adds [posts_path]/assets to rails asset paths' do
    get '/assets/dogue.jpg'
    assert_equal 'image/jpeg', response.content_type.to_s
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
blogue-0.3.0 test/integration/configuration_test.rb
blogue-0.2.0 test/integration/configuration_test.rb
blogue-0.1.0 test/integration/configuration_test.rb
blogue-0.0.6 test/integration/configuration_test.rb
blogue-0.0.5 test/integration/configuration_test.rb
blogue-0.0.4 test/integration/configuration_test.rb
blogue-0.0.3 test/integration/configuration_test.rb
blogue-0.0.2 test/integration/configuration_test.rb
blogue-0.0.1 test/integration/configuration_test.rb