Sha256: 9cf2186dc26d757b245451ff1ce6fad377a413af86580e3bb4d89616f26115da

Contents?: true

Size: 505 Bytes

Versions: 10

Compression:

Stored size: 505 Bytes

Contents

require File.dirname(__FILE__) + '/../test_helper'

class RenderCmsSeedTest < ActionDispatch::IntegrationTest
  
  def test_render_with_seed_data_enabled
    get '/child/subchild'
    assert_response 404
    
    ComfortableMexicanSofa.configuration.seed_data_path = File.expand_path('../cms_seeds', File.dirname(__FILE__))
    
    get '/child/subchild'
    assert_response :success
    assert_equal '<html><div>Sub Child Page Content Content for Default Snippet</div></html>', response.body
  end
  
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
comfortable_mexican_sofa-1.0.13 test/integration/render_cms_seed_test.rb
comfortable_mexican_sofa-1.0.12 test/integration/render_cms_seed_test.rb
comfortable_mexican_sofa-1.0.11 test/integration/render_cms_seed_test.rb
comfortable_mexican_sofa-1.0.10 test/integration/render_cms_seed_test.rb
comfortable_mexican_sofa-1.0.9 test/integration/render_cms_seed_test.rb
comfortable_mexican_sofa-1.0.7 test/integration/render_cms_seed_test.rb
comfortable_mexican_sofa-1.0.6 test/integration/render_cms_seed_test.rb
comfortable_mexican_sofa-1.0.5 test/integration/render_cms_seed_test.rb
comfortable_mexican_sofa-1.0.4 test/integration/render_cms_seed_test.rb
comfortable_mexican_sofa-1.0.3 test/integration/render_cms_seed_test.rb