mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
FEATURE: add filters on email logs
This commit is contained in:
@ -27,9 +27,18 @@ describe Admin::EmailController do
|
||||
end
|
||||
end
|
||||
|
||||
context '.logs' do
|
||||
context '.sent' do
|
||||
before do
|
||||
xhr :get, :logs
|
||||
xhr :get, :sent
|
||||
end
|
||||
|
||||
subject { response }
|
||||
it { should be_success }
|
||||
end
|
||||
|
||||
context '.skipped' do
|
||||
before do
|
||||
xhr :get, :skipped
|
||||
end
|
||||
|
||||
subject { response }
|
||||
|
Reference in New Issue
Block a user