Add profile notification spinach
This commit is contained in:
parent
6642709faa
commit
318b50a0b3
|
@ -0,0 +1,8 @@
|
|||
Feature: Profile Notifications
|
||||
Background:
|
||||
Given I sign in as a user
|
||||
And I own project "Shop"
|
||||
|
||||
Scenario: I visit notifications tab
|
||||
When I visit profile notifications page
|
||||
Then I should see global notifications settings
|
|
@ -0,0 +1,13 @@
|
|||
class ProfileNotifications < Spinach::FeatureSteps
|
||||
include SharedAuthentication
|
||||
include SharedProject
|
||||
|
||||
step 'I visit profile notifications page' do
|
||||
visit profile_notifications_path
|
||||
end
|
||||
|
||||
step 'I should see global notifications settings' do
|
||||
page.should have_content "Setup your notification level"
|
||||
page.should have_content "Global setting"
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue