Adds instagram fontawesome icon to splash and reverting the description for slideshare & speakerdeck to have media ids instead of link
Adds test for instagram url to conference show
This commit is contained in:
parent
6ae845143e
commit
74535b4bd8
3 changed files with 12 additions and 25 deletions
|
|
@ -9,8 +9,8 @@ describe 'conference/show.html.haml' do
|
|||
sponsor_email: 'example@example.com',
|
||||
facebook_url: 'http://www.fbexample.com',
|
||||
google_url: 'http://www.google-example.com',
|
||||
media_type: 'YouTube',
|
||||
media_id: 'rtyutut',
|
||||
instagram_url: "http://instagram.com",
|
||||
twitter_url: "http://twitter.com",
|
||||
include_registrations_in_splash: true,
|
||||
include_program_in_splash: true,
|
||||
include_sponsors_in_splash: true,
|
||||
|
|
@ -64,7 +64,8 @@ describe 'conference/show.html.haml' do
|
|||
expect(view).to render_template('conference/_social_media')
|
||||
expect(view.content_for(:splash)).to include('http://www.fbexample.com')
|
||||
expect(view.content_for(:splash)).to include('http://www.google-example.com')
|
||||
expect(view.content_for(:splash)).to include('http://youtu.be/rtyutut')
|
||||
expect(view.content_for(:splash)).to include("http://instagram.com")
|
||||
expect(view.content_for(:splash)).to include("http://twitter.com")
|
||||
end
|
||||
|
||||
it 'renders location partial' do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue