Skip to content

Commit

Permalink
Create events when there are multiple calendars. [#27]
Browse files Browse the repository at this point in the history
  • Loading branch information
marnen committed May 21, 2009
1 parent 10680b2 commit 3dc9b1b
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion features/events/create_events.feature
Expand Up @@ -11,4 +11,16 @@ Feature: Create events
When I follow "Add event"
And I fill in "event[name]" with "My event"
And I press "Save changes"
Then I should have an event called "My event" in "Calendar 1"
Then I should have an event called "My event" in "Calendar 1"

Scenario: Create events on subscribed calendar when there are multiple subscriptions
Given I am logged in
And there are no events
And I am on the homepage
And I am subscribed to "Calendar 1"
And I am subscribed to "Calendar 2"
When I follow "Add event"
And I select "Calendar 2" from "event[calendar_id]"
And I fill in "event[name]" with "My event"
And I press "Save changes"
Then I should have an event called "My event" in "Calendar 2"

0 comments on commit 3dc9b1b

Please sign in to comment.