cirandas.net

ref: dockerize

plugins/community_track/test/test_helper.rb


1
2
3
4
5
6
7
8
require 'test_helper'

def create_track(name, profile)
  track = CommunityTrackPlugin::Track.new(:abstract => 'abstract', :body => 'body', :name => name, :profile => profile)
  track.add_category(fast_create(Category))
  track.save!
  track
end