osem-fcy/spec/support/sidebar.rb

9 lines
190 B
Ruby
Raw Normal View History

module Sidebar
def sidebar
@conference = create(:conference)
assign :conference, @conference
2014-08-12 11:51:59 +03:00
render
expect(view).to render_template('admin/conferences/_sidebar')
end
2014-06-30 17:07:53 +02:00
end