Sha256: 4923a3595dc372fed4977a65022001106f5b3029ee069ee2c72839a41d82bba2
Contents?: true
Size: 301 Bytes
Versions: 7
Compression:
Stored size: 301 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