mirror of
https://github.com/discourse/discourse.git
synced 2024-12-16 10:23:40 +08:00
14 lines
263 B
Plaintext
14 lines
263 B
Plaintext
|
require 'rails_helper'
|
||
|
|
||
|
describe <%= name %>::ActionsController do
|
||
|
before do
|
||
|
SiteSetting.queue_jobs = false
|
||
|
end
|
||
|
|
||
|
it 'can list' do
|
||
|
sign_in(Fabricate(:user))
|
||
|
get "/<%= dasherized_name %>/list.json"
|
||
|
expect(response.status).to eq(200)
|
||
|
end
|
||
|
end
|