From 94ae01ce6fce8e19fb5295da6be302fdbef573c7 Mon Sep 17 00:00:00 2001 From: Pete Higgins Date: Fri, 10 Feb 2012 00:40:16 -0800 Subject: These aren't scopes anymore. :trollface: --- spec/models/refinery/blog/post_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'spec') 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) -- cgit v1.2.3