aboutsummaryrefslogtreecommitdiffstats
path: root/spec/lib/refinery/blog/engine_spec.rb
blob: 37edce331e96aa68b53886832d40899aaf01f1ec (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

          expect(Refinery::Page.where(:link_url => '/blog').count).to eq(1)
        end
      end
    end
  end
end