Fix Rubocop issues
This commit is contained in:
parent
a45008640f
commit
7f5d06b23c
27 changed files with 94 additions and 83 deletions
|
|
@ -69,8 +69,8 @@ describe Admin::TicketsController do
|
|||
it 'creates new ticket' do
|
||||
expect do
|
||||
post :create, params: {
|
||||
ticket: attributes_for(:ticket),
|
||||
conference_id: conference
|
||||
ticket: attributes_for(:ticket),
|
||||
conference_id: conference
|
||||
}
|
||||
end.to change{ conference.tickets.count }.from(ticket_count).to(ticket_count + 1)
|
||||
end
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ describe ApplicationHelper, type: :helper do
|
|||
describe 'navigation title link' do
|
||||
it 'should default to OSEM' do
|
||||
ENV.delete('OSEM_NAME')
|
||||
# TODO:Snap!Con: expect(nav_root_link_for(nil)).to match 'OSEM'
|
||||
# TODO: Snap!Con: expect(nav_root_link_for(nil)).to match 'OSEM'
|
||||
expect(nav_root_link_for(nil)).to match image_tag('snapcon_logo.png')
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -13,12 +13,12 @@ describe FormatHelper, type: :helper do
|
|||
expect(Redcarpet::Markdown).to receive(:new)
|
||||
.with(
|
||||
Redcarpet::Render::HTML,
|
||||
autolink: true,
|
||||
autolink: true,
|
||||
space_after_headers: true,
|
||||
tables: true,
|
||||
strikethrough: true,
|
||||
footnotes: true,
|
||||
superscript: true
|
||||
tables: true,
|
||||
strikethrough: true,
|
||||
footnotes: true,
|
||||
superscript: true
|
||||
)
|
||||
.and_call_original
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue