aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models/refinery/blog
diff options
context:
space:
mode:
authorPete Higgins <pete@peterhiggins.org>2012-02-10 00:40:16 -0800
committerPete Higgins <pete@peterhiggins.org>2012-02-10 01:06:53 -0800
commit94ae01ce6fce8e19fb5295da6be302fdbef573c7 (patch)
tree26f37dcf16d2f4862b9ef3493cf7906dd7b38881 /spec/models/refinery/blog
parent922bc8b98f0dd3daa3bf36b57bb18ce0b864100d (diff)
downloadrefinerycms-blog-94ae01ce6fce8e19fb5295da6be302fdbef573c7.tar.gz
refinerycms-blog-94ae01ce6fce8e19fb5295da6be302fdbef573c7.tar.bz2
refinerycms-blog-94ae01ce6fce8e19fb5295da6be302fdbef573c7.zip
These aren't scopes anymore. :trollface:
Diffstat (limited to 'spec/models/refinery/blog')
-rw-r--r--spec/models/refinery/blog/post_spec.rb6
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)