mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-16 13:14:03 +00:00
View specs, added factories, fixed bugs
This commit is contained in:
parent
322ddd1501
commit
d1e9bd06a6
33 changed files with 319 additions and 12 deletions
9
spec/support/sidebar.rb
Normal file
9
spec/support/sidebar.rb
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
module Sidebar
|
||||
def sidebar
|
||||
@conference = create(:conference)
|
||||
assign :conference, @conference
|
||||
assign :cfp, CallForPapers.new
|
||||
render
|
||||
expect(view).to render_template('admin/conference/_sidebar')
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue