Skip to content

Instantly share code, notes, and snippets.

@laribee
Created January 4, 2012 16:44
Show Gist options
  • Select an option

  • Save laribee/1560887 to your computer and use it in GitHub Desktop.

Select an option

Save laribee/1560887 to your computer and use it in GitHub Desktop.
loader dsl - mvr syntax
@epic = find_or_create :epic do |f|
f.lookup :name, 'test_epic_4'
f.attributes do |a|
a.name 'test_epic_4'
end
f.relations do |r|
r.scope @scope
end
f.mvrs do |m|
m.owners @member1, @member2
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment