spec/models/layout_spec.rb in locomotive_cms-0.0.2.7 vs spec/models/layout_spec.rb in locomotive_cms-0.0.2.8

- old
+ new

@@ -25,11 +25,11 @@ @layout.parts.count.should == 2 @layout.parts.first.name.should == 'Body' @layout.parts.first.slug.should == 'layout' - @layout.parts.last.name.should == 'Left Sidebar' - @layout.parts.last.slug.should == 'sidebar' + @layout.parts.last.name.should == 'Left sidebar' + @layout.parts.last.slug.should == 'left_sidebar' end it 'should not add parts to pages if layout does not change' do @layout.stubs(:value_changed?).returns(false) page = Factory.build(:page, :layout => @layout, :site => nil) \ No newline at end of file