rework roles with rolify
This commit is contained in:
parent
f9f840c811
commit
4af0e59ca6
40 changed files with 167 additions and 228 deletions
|
|
@ -10,8 +10,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',
|
||||
instagram_url: "http://instagram.com",
|
||||
twitter_url: "http://twitter.com",
|
||||
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,
|
||||
|
|
@ -65,8 +65,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://instagram.com")
|
||||
expect(view.content_for(:splash)).to include("http://twitter.com")
|
||||
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