# frozen_string_literal: true

require 'test_helper'

class Web::BlogPostsControllerTest < ActionDispatch::IntegrationTest
  test 'should get index' do
    get blog_posts_url
    assert_response :success
  end

  test 'should get show' do
    post = blog_posts('from-full')
    get blog_post_url(post.slug)
    assert_response :success
  end
end
