diaspora/features/user_creates_an_aspect.feature
Alec Leamas 1481056af2 Revert "Merge remote branch 'upstream/master'"
This reverts commit fb70dc8c99, reversing
changes made to 53fef63a9a.

Conflicts:

	pkg/fedora/diaspora-setup
	pkg/ubuntu/diaspora-setup
	public/stylesheets/sass/application.sass
	spec/models/user/attack_vectors_spec.rb
2010-10-20 14:59:55 +02:00

23 lines
742 B
Gherkin

@aspects @javascript
Feature: User creates an aspect
In order to share with a limited group
As a User
I want to create a new aspect
Background:
Given I am signed in
And I follow "Manage" in the header
And I follow "Add a new aspect"
Scenario: success
Given I fill in "Name" with "Dorm Mates" in the modal window
When I press "Create" in the modal window
Then I should see "Manage aspects"
And I should see "Dorm Mates" in the header
And I should see "Dorm Mates" in the aspect list
Scenario: I omit the name
Given I fill in "Name" with "" in the modal window
When I press "Create" in the modal window
Then I should see "Manage aspects"
And I should see "Aspect creation failed."