blob: 37edce331e96aa68b53886832d40899aaf01f1ec (
plain) (
tree)
|
|
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
|