Sha256: 85e8fab699e5fa656a74c75f3380cd9d999392b9266176fc66ba63190938aef1
Contents?: true
Size: 295 Bytes
Versions: 7
Compression:
Stored size: 295 Bytes
Contents
Given /^structures tree exists:$/ do |table| @tree = table.hashes @tree.each do |attrs| parent = Structure.joins(:translations).where("structure_translations.title='#{attrs['parent_name']}'").first FactoryGirl.create(:structure_page, title: attrs['title'], parent: parent) end end
Version data entries
7 entries across 7 versions & 1 rubygems