Commit 318b50a0b3df4842cc33a15ff2019c948af15359
1 parent
6642709f
Exists in
master
and in
4 other branches
Add profile notification spinach
Showing
2 changed files
with
21 additions
and
0 deletions
Show diff stats
| @@ -0,0 +1,13 @@ | @@ -0,0 +1,13 @@ | ||
| 1 | +class ProfileNotifications < Spinach::FeatureSteps | ||
| 2 | + include SharedAuthentication | ||
| 3 | + include SharedProject | ||
| 4 | + | ||
| 5 | + step 'I visit profile notifications page' do | ||
| 6 | + visit profile_notifications_path | ||
| 7 | + end | ||
| 8 | + | ||
| 9 | + step 'I should see global notifications settings' do | ||
| 10 | + page.should have_content "Setup your notification level" | ||
| 11 | + page.should have_content "Global setting" | ||
| 12 | + end | ||
| 13 | +end |