View specs, added factories, fixed bugs

This commit is contained in:
Gopesh Tulsyan 2014-05-19 12:24:48 +05:30
parent 322ddd1501
commit d1e9bd06a6
33 changed files with 319 additions and 12 deletions

9
spec/support/sidebar.rb Normal file
View 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