Added a feature to creating snippets.

This commit is contained in:
Mario Visic 2011-06-02 22:01:25 +08:00
parent 8575af8b33
commit 19a07910f7

View File

@ -15,6 +15,17 @@ Background:
"yield"
"""
Scenario: Creating a Snippet
When I go to theme assets
And I follow "new snippet"
And I fill in "Name" with "Banner"
And I fill in "Slug" with "banner"
And I fill in "snippet_template" with "banner"
And I press "Create"
Then I should see "Snippet was successfully created."
And I should have "banner" in the banner snippet
Scenario: Updating a Snippet that includes another snippet
Given a snippet named "other" with the template:
"""