aboutsummaryrefslogtreecommitdiffstats
path: root/features/category.feature
diff options
context:
space:
mode:
authorJamie Winsor <jamie@enmasse.com>2011-08-04 13:59:51 -0700
committerJamie Winsor <jamie@enmasse.com>2011-08-04 15:11:05 -0700
commit8bd056e3e8baa108b2e10e460ceeeed3ec7c4c86 (patch)
tree5e095d1a675daabf26e8cc0472bae433257b7616 /features/category.feature
parent84a2fcdf08430c70cb4da8c678c2d72e8ca54628 (diff)
downloadrefinerycms-blog-8bd056e3e8baa108b2e10e460ceeeed3ec7c4c86.tar.gz
refinerycms-blog-8bd056e3e8baa108b2e10e460ceeeed3ec7c4c86.tar.bz2
refinerycms-blog-8bd056e3e8baa108b2e10e460ceeeed3ec7c4c86.zip
Replace category.features with capybara rspec requests
Update FactoryGirl factory definition syntax
Diffstat (limited to 'features/category.feature')
-rw-r--r--features/category.feature23
1 files changed, 0 insertions, 23 deletions
diff --git a/features/category.feature b/features/category.feature
deleted file mode 100644
index 6af1075..0000000
--- a/features/category.feature
+++ /dev/null
@@ -1,23 +0,0 @@
-@blog @blog_categories
-Feature: Blog Post Categories
- Blog posts can be assigned categories
-
- Background:
- Given I am a logged in refinery user
- Given there is a category titled "Videos"
-
- Scenario: The blog post new/edit form has category_list
- When I am on the new blog post form
- Then I should see "Tags"
- Then I should see "Videos"
-
- Scenario: The blog post new/edit form saves categories
- When I am on the new blog post form
- And I fill in "Title" with "This is my blog post"
- And I fill in "blog_post_body" with "And I love it"
- And I check "Videos"
- And I press "Save"
-
- Then there should be 1 blog post
- And the blog post should have 1 category
- And the blog post should have the category "Videos" \ No newline at end of file