aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/lib/refinery/blog/engine_spec.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/spec/lib/refinery/blog/engine_spec.rb b/spec/lib/refinery/blog/engine_spec.rb
new file mode 100644
index 0000000..5b36fd8
--- /dev/null
+++ b/spec/lib/refinery/blog/engine_spec.rb
@@ -0,0 +1,15 @@
+require 'spec_helper'
+
+module Refinery
+ module Blog
+ describe Engine 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("edit_refinery_admin_blog_posts_path")
+ end
+ end
+ end
+end