Merge branch 'master' into rebased_1530
This commit is contained in:
commit
aebdd66034
12 changed files with 90 additions and 24 deletions
|
|
@ -24,6 +24,20 @@ describe ConferencesController do
|
|||
expect(response).to render_template :show
|
||||
end
|
||||
end
|
||||
|
||||
context 'accessing conference via custom domain' do
|
||||
before do
|
||||
conference.update_attribute(:custom_domain, 'lvh.me')
|
||||
@request.host = 'lvh.me'
|
||||
end
|
||||
|
||||
it 'assigns correct conference' do
|
||||
get :show
|
||||
|
||||
expect(response).to render_template :show
|
||||
expect(assigns(:conference)).to eq conference
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
describe 'OPTIONS #index' do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue