refactors notifications into concerns and shared examples

This commit is contained in:
rgarcia
2017-12-14 16:15:30 +01:00
parent 56a7c46c12
commit 2b52d26d82
35 changed files with 630 additions and 376 deletions

View File

@@ -2,6 +2,10 @@ require 'rails_helper'
feature 'Polls' do
context "Concerns" do
it_behaves_like 'notifiable in-app', Poll
end
context '#index' do
scenario 'Polls can be listed' do