FEATURE: add filters on email logs

This commit is contained in:
Régis Hanol
2014-02-15 00:50:08 +01:00
parent 21f757fd72
commit 3f3c9ca7cb
16 changed files with 145 additions and 67 deletions

View File

@ -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 }