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

View file

@ -0,0 +1,12 @@
require 'spec_helper'
describe "admin/conference/new" do
it 'renders the new template for the conference' do
assign(:conference, Conference.new)
render
expect(rendered).to include('Basic Information')
assign(:conference, build(:conference))
render
expect(rendered).to include('The dog and pony show')
end
end