spec/concerns/landable/has_templates_spec.rb in landable-1.11.0 vs spec/concerns/landable/has_templates_spec.rb in landable-1.11.1
- old
+ new
@@ -1,10 +1,13 @@
require 'spec_helper'
module Landable
describe HasTemplates do
- before(:each) { create_list :template, 3 }
+ before(:each) do
+ create_list :template, 2
+ create :template, slug: 'I have a space'
+ end
let(:templates) { Landable::Template.last(3) }
let(:subject) {
build :page, {
body: "