闭社主体 forked from https://github.com/tootsuite/mastodon
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
346 B

  1. # frozen_string_literal: true
  2. require 'rails_helper'
  3. describe StatusesController do
  4. render_views
  5. describe '#show' do
  6. it 'returns a success' do
  7. status = Fabricate(:status)
  8. get :show, params: { account_username: status.account.username, id: status.id }
  9. expect(response).to have_http_status(:success)
  10. end
  11. end
  12. end