mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
12 lines
351 B
Ruby
12 lines
351 B
Ruby
require 'spec_helper'
|
|
|
|
describe 'admin/lodgings/index' do
|
|
it 'renders lodgings list' do
|
|
@conference = create(:conference)
|
|
@conference.venue = create(:venue)
|
|
@conference.lodgings << create(:lodging)
|
|
assign :venue, @conference.venue
|
|
render
|
|
expect(rendered).to include(CGI.escapeHTML(@conference.lodgings.first.name))
|
|
end
|
|
end
|