aboutsummaryrefslogtreecommitdiffstats
path: root/spec/lib/refinery/blog/engine_spec.rb
blob: 0e2952dec80788189c0d99d3fbf7c6b148c244d9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require 'spec_helper'

module Refinery
  module Blog
    describe Engine do
      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