houndci fixes

This commit is contained in:
Gopesh Tulsyan 2014-05-19 12:49:04 +05:30
parent d1e9bd06a6
commit 7a19fefd53
24 changed files with 39 additions and 33 deletions

View file

@ -1,9 +1,8 @@
require 'spec_helper'
describe "admin/conference/index" do
describe 'admin/conference/index' do
it 'renders all conference names with links' do
assign(:conferences, [create(:conference, title: 'OpenSUSE'),
create(:conference)])
assign(:conferences, [create(:conference, title: 'OpenSUSE'), create(:conference)])
render
expect(rendered).to include('OpenSUSE')
expect(rendered).to include("The dog and pony show")