mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-15 12:44:03 +00:00
* Add map to splash * Reverse venue<->conference relation * Split venue address into fields * Don't go through venue for lodgings anymore
12 lines
319 B
Ruby
12 lines
319 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('Example Hotel')
|
|
end
|
|
end
|