aboutsummaryrefslogtreecommitdiffstats
path: root/features/step_definitions/authors_steps.rb
diff options
context:
space:
mode:
authorJamie Winsor <jamie@enmasse.com>2011-08-04 11:47:33 -0700
committerJamie Winsor <jamie@enmasse.com>2011-08-04 13:59:29 -0700
commit84a2fcdf08430c70cb4da8c678c2d72e8ca54628 (patch)
treea6160b54dd4c8bb6c23950fa2e04572d0574b49a /features/step_definitions/authors_steps.rb
parentc3b7d0b1d2d23f87536078dc8cc2aa367d7730e4 (diff)
downloadrefinerycms-blog-84a2fcdf08430c70cb4da8c678c2d72e8ca54628.tar.gz
refinerycms-blog-84a2fcdf08430c70cb4da8c678c2d72e8ca54628.tar.bz2
refinerycms-blog-84a2fcdf08430c70cb4da8c678c2d72e8ca54628.zip
Replace authors.feature with capybara rspec tests
Diffstat (limited to 'features/step_definitions/authors_steps.rb')
-rw-r--r--features/step_definitions/authors_steps.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/features/step_definitions/authors_steps.rb b/features/step_definitions/authors_steps.rb
deleted file mode 100644
index eaa5f32..0000000
--- a/features/step_definitions/authors_steps.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-Then /^there should be (\d+) blog posts?$/ do |num|
- ::Refinery::BlogPost.all.size == num
-end
-
-Then /^the blog post should belong to me$/ do
- ::Refinery::BlogPost.first.author.login == ::Refinery::User.last.login
-end \ No newline at end of file