mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
FEATURE: add filters on email logs
This commit is contained in:
parent
21f757fd72
commit
3f3c9ca7cb
16 changed files with 145 additions and 67 deletions
|
@ -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 }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue