diff options
author | Pete Higgins <pete@peterhiggins.org> | 2012-02-10 00:40:16 -0800 |
---|---|---|
committer | Pete Higgins <pete@peterhiggins.org> | 2012-02-10 01:06:53 -0800 |
commit | 94ae01ce6fce8e19fb5295da6be302fdbef573c7 (patch) | |
tree | 26f37dcf16d2f4862b9ef3493cf7906dd7b38881 | |
parent | 922bc8b98f0dd3daa3bf36b57bb18ce0b864100d (diff) | |
download | refinerycms-blog-94ae01ce6fce8e19fb5295da6be302fdbef573c7.tar.gz refinerycms-blog-94ae01ce6fce8e19fb5295da6be302fdbef573c7.tar.bz2 refinerycms-blog-94ae01ce6fce8e19fb5295da6be302fdbef573c7.zip |
These aren't scopes anymore. :trollface:
-rw-r--r-- | spec/models/refinery/blog/post_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/models/refinery/blog/post_spec.rb b/spec/models/refinery/blog/post_spec.rb index 1ec89a4..a781aef 100644 --- a/spec/models/refinery/blog/post_spec.rb +++ b/spec/models/refinery/blog/post_spec.rb @@ -53,7 +53,7 @@ module Refinery end end - describe "by_archive scope" do + describe "by_archive" do before do @post1 = FactoryGirl.create(:blog_post, :published_at => Date.new(2011, 3, 11)) @post2 = FactoryGirl.create(:blog_post, :published_at => Date.new(2011, 3, 12)) @@ -84,7 +84,7 @@ module Refinery end end - describe "live scope" do + describe "live" do before do @post1 = FactoryGirl.create(:blog_post, :published_at => Time.now.advance(:minutes => -2)) @post2 = FactoryGirl.create(:blog_post, :published_at => Time.now.advance(:minutes => -1)) @@ -98,7 +98,7 @@ module Refinery end end - describe "uncategorized scope" do + describe "uncategorized" do before do @uncategorized_post = FactoryGirl.create(:blog_post) @categorized_post = FactoryGirl.create(:blog_post) |