Created
March 20, 2013 16:36
-
-
Save ess/5206142 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@story_46295397 | |
Feature: Publishing a journey | |
As a creator or editor | |
I want to publish a journey | |
So that others can subscribe to my content | |
Scenario: Publishing a draft # features/publish_journey.feature:8 | |
Given I've created a publishable journey # features/step_definitions/publishing_steps.rb:1 | |
When I click the publish button # features/step_definitions/publishing_steps.rb:22 | |
Then I should be on the publish journey page # features/step_definitions/publishing_steps.rb:43 | |
When I choose a keyword # features/step_definitions/publishing_steps.rb:47 | |
And publish the journey # features/step_definitions/publishing_steps.rb:68 | |
Then the journey should be published # features/step_definitions/publishing_steps.rb:27 | |
Couldn't find Journie with id=journey-1 [WHERE "connections"."recipient_id" = 1 AND ("journies"."sharable" = 't' AND "journies"."state" IN ('published', 'unpublished'))] (ActiveRecord::RecordNotFound) | |
./app/helpers/current_controller_helper.rb:55:in `rescue in load_public_journey' | |
./app/helpers/current_controller_helper.rb:52:in `load_public_journey' | |
./features/step_definitions/publishing_steps.rb:30:in `/the journey should be published/' | |
features/publish_journey.feature:14:in `Then the journey should be published' | |
Failing Scenarios: | |
cucumber features/publish_journey.feature:8 # Scenario: Publishing a draft | |
1 scenario (1 failed) | |
6 steps (1 failed, 5 passed) | |
0m2.831s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment