Merge branch 'master' into role-link

This commit is contained in:
James Mason 2017-10-13 11:40:34 -07:00 committed by GitHub
commit fc72d9e84c
4 changed files with 20 additions and 5 deletions

2
.gitignore vendored
View file

@ -38,3 +38,5 @@ pickle-email-*.html
.env.local .env.local
docker-compose.env docker-compose.env
docker-compose.yml docker-compose.yml
.DS_Store
.byebug_history

View file

@ -200,6 +200,11 @@ gem 'sprockets-rails'
# for multiple speakers select on proposal/event forms # for multiple speakers select on proposal/event forms
gem 'selectize-rails' gem 'selectize-rails'
# Nokogiri < 1.8.1 is subject to:
# CVE-2017-0663, CVE-2017-7375, CVE-2017-7376, CVE-2017-9047, CVE-2017-9048,
# CVE-2017-9049, CVE-2017-9050
gem 'nokogiri', '>= 1.8.1'
# Use guard and spring for testing in development # Use guard and spring for testing in development
group :development do group :development do
# to launch specs when files are modified # to launch specs when files are modified

View file

@ -270,7 +270,7 @@ GEM
open4 (~> 1.3.4) open4 (~> 1.3.4)
rake rake
mini_magick (4.5.1) mini_magick (4.5.1)
mini_portile2 (2.2.0) mini_portile2 (2.3.0)
minitest (5.10.2) minitest (5.10.2)
momentjs-rails (2.8.1) momentjs-rails (2.8.1)
railties (>= 3.1) railties (>= 3.1)
@ -290,8 +290,8 @@ GEM
mysql2 (0.4.9) mysql2 (0.4.9)
nenv (0.3.0) nenv (0.3.0)
netrc (0.11.0) netrc (0.11.0)
nokogiri (1.8.0) nokogiri (1.8.1)
mini_portile2 (~> 2.2.0) mini_portile2 (~> 2.3.0)
notiffany (0.1.1) notiffany (0.1.1)
nenv (~> 0.1) nenv (~> 0.1)
shellany (~> 0.0) shellany (~> 0.0)
@ -609,6 +609,7 @@ DEPENDENCIES
mini_magick mini_magick
money-rails money-rails
mysql2 mysql2
nokogiri (>= 1.8.1)
omniauth omniauth
omniauth-facebook omniauth-facebook
omniauth-github omniauth-github
@ -662,4 +663,4 @@ DEPENDENCIES
whenever whenever
BUNDLED WITH BUNDLED WITH
1.15.1 1.15.4

View file

@ -36,7 +36,14 @@ feature Sponsor do
end end
# Remove sponsor # Remove sponsor
click_link 'Delete' visit admin_conference_sponsors_path(
conference_id: conference.short_title
)
within('table#sponsors') do
page.accept_confirm do
click_link 'Delete'
end
end
expect(flash).to eq('Sponsor successfully deleted.') expect(flash).to eq('Sponsor successfully deleted.')
expect(page).to_not have_selector('table#sponsors') expect(page).to_not have_selector('table#sponsors')
end end