aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml2
-rw-r--r--lib/refinery/blog/engine.rb1
-rw-r--r--spec/lib/refinery/blog/engine_spec.rb9
3 files changed, 1 insertions, 11 deletions
diff --git a/.travis.yml b/.travis.yml
index 8af9a9b..5dee151 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -23,5 +23,5 @@ env:
- DB=postgresql
- DB=mysql
rvm:
- - 2.1.0
+ - 2.1
- 2.0.0
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