Sha256: 8e3fbd6d274a651b59f3d19e1f56cf669488acd44ae569c48d334efd8aac0eb9
Contents?: true
Size: 619 Bytes
Versions: 7
Compression:
Stored size: 619 Bytes
Contents
require 'spec_helper' 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 Engine.load_seed Refinery::Page.where(:link_url => '/blog').count.should eq(1) end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems