2017-02-28 20:50:57 +00:00
|
|
|
require 'spec_helper'
|
|
|
|
|
|
|
|
RSpec.describe 'Dashboard Activity', feature: true do
|
2017-06-21 23:44:10 +00:00
|
|
|
let(:user) { create(:user) }
|
|
|
|
|
2017-02-28 20:50:57 +00:00
|
|
|
before do
|
2017-06-21 23:44:10 +00:00
|
|
|
sign_in(user)
|
2017-02-28 20:50:57 +00:00
|
|
|
visit activity_dashboard_path
|
|
|
|
end
|
2017-05-23 13:59:33 +00:00
|
|
|
|
2017-05-23 20:20:53 +00:00
|
|
|
it_behaves_like "it has an RSS button with current_user's RSS token"
|
|
|
|
it_behaves_like "an autodiscoverable RSS feed with current_user's RSS token"
|
2017-02-28 20:50:57 +00:00
|
|
|
end
|