aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Arndt <p@arndt.io>2014-10-11 11:36:29 +0100
committerPhilip Arndt <p@arndt.io>2014-10-11 11:36:29 +0100
commita96ffaf51220e928b3fbdfcc4db969cc810f597b (patch)
tree7831b0be422803d60da0db11eda26628582eb5ad
parentc1d68ecdbc6b4912d3fc6c749060d8820f85a531 (diff)
downloadrefinerycms-blog-a96ffaf51220e928b3fbdfcc4db969cc810f597b.tar.gz
refinerycms-blog-a96ffaf51220e928b3fbdfcc4db969cc810f597b.tar.bz2
refinerycms-blog-a96ffaf51220e928b3fbdfcc4db969cc810f597b.zip
Removed plugin#activity call as this method was removed.
-rw-r--r--lib/refinery/blog/engine.rb1
-rw-r--r--spec/lib/refinery/blog/engine_spec.rb9
2 files changed, 0 insertions, 10 deletions
diff --git a/lib/refinery/blog/engine.rb b/lib/refinery/blog/engine.rb
index f81e110..95952d0 100644
--- a/lib/refinery/blog/engine.rb
+++ b/lib/refinery/blog/engine.rb
@@ -11,7 +11,6 @@ module Refinery
plugin.name = "refinerycms_blog"
plugin.url = proc { Refinery::Core::Engine.routes.url_helpers.blog_admin_posts_path }
plugin.menu_match = /refinery\/blog\/?(posts|comments|categories)?/
- plugin.activity = { :class_name => :'refinery/blog/post' }
end
end
diff --git a/spec/lib/refinery/blog/engine_spec.rb b/spec/lib/refinery/blog/engine_spec.rb
index b64601a..4961854 100644
--- a/spec/lib/refinery/blog/engine_spec.rb
+++ b/spec/lib/refinery/blog/engine_spec.rb
@@ -4,15 +4,6 @@ module Refinery
module Blog
describe Engine do
describe "plugin activity" do
- let(:activity) do
- Refinery::Plugins.registered.find_by_name("refinerycms_blog").activity.first
- end
-
- it "sets the correct path for activity entries" do
- activity.url.should eq("refinery.edit_blog_admin_post_path")
- end
- end
-
describe ".load_seed" do
it "is idempotent" do
Engine.load_seed