From edfa8b81e793f071feb8af417930f9beb3fb806e Mon Sep 17 00:00:00 2001 From: Pete Higgins Date: Fri, 6 Jan 2012 11:36:27 -0800 Subject: Fix activity route generation. Workaround for resolve/refinerycms#1193. --- spec/lib/refinery/blog/engine_spec.rb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 spec/lib/refinery/blog/engine_spec.rb (limited to 'spec') 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 -- cgit v1.2.3