Commit 318b50a0 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Add profile notification spinach

parent 6642709f
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
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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment