Remove callback to decrementRequestCounter in aspect-edit.js, since we don't have a request counter on that page anymore. The callback was failing, so the ajax request was never officially completing. Cucumber hates that. I am going to add jasmine fixture generation in the controller specs, so that next time, a jasmine test will fail in this situation. Also: clean up manages_aspects.feature.
14 lines
460 B
Gherkin
14 lines
460 B
Gherkin
@aspects @javascript
|
|
Feature: User manages aspects
|
|
In order to share with a limited group
|
|
As a User
|
|
I want to create new aspects
|
|
|
|
Scenario: creating an aspect
|
|
Given I am signed in
|
|
When I follow "Home" in the header
|
|
And I follow "manage aspects"
|
|
And I follow "+ Add a new aspect"
|
|
And I fill in "Name" with "Dorm Mates" in the modal window
|
|
And I press "Create" in the modal window
|
|
Then I should see "Dorm Mates" in the header
|