spec/datasets/layouts_dataset.rb in radiant-1.0.0.rc3 vs spec/datasets/layouts_dataset.rb in radiant-1.0.0.rc4

- old
+ new

@@ -47,11 +47,11 @@ Layout.find_by_name(name) end private - @@unique_layout_name_call_count = 0 def unique_layout_name + @@unique_layout_name_call_count ||= 0 @@unique_layout_name_call_count += 1 "Layout #{@@unique_layout_name_call_count}" end end end \ No newline at end of file