Skip to content

Commit

Permalink
Use rails-dom-testing from source to work around a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dnrce committed May 23, 2016
1 parent 3ecf9d6 commit 3de582f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ group :development, :test do
end

group :test do
# Pull in the fix for rails-dom-testing issue #42
# TODO: Remove with Rails 5 and rails-dom-testing 2.x
gem 'rails-dom-testing', github: 'rails/rails-dom-testing', ref: 'a64f30514ee65f172c43f42cfd4500b5e11a561a'

gem "factory_girl_rails"
gem "capybara"
gem "cucumber-rails", :require => false
Expand Down
15 changes: 11 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
GIT
remote: git://github.com/rails/rails-dom-testing.git
revision: a64f30514ee65f172c43f42cfd4500b5e11a561a
ref: a64f30514ee65f172c43f42cfd4500b5e11a561a
specs:
rails-dom-testing (1.0.7)
activesupport (>= 4.2.0.beta, < 5.0)
nokogiri (~> 1.6.0)
rails-deprecated_sanitizer (>= 1.0.1)

GEM
remote: https://rubygems.org/
specs:
Expand Down Expand Up @@ -172,10 +182,6 @@ GEM
sprockets-rails
rails-deprecated_sanitizer (1.0.3)
activesupport (>= 4.2.0.alpha)
rails-dom-testing (1.0.7)
activesupport (>= 4.2.0.beta, < 5.0)
nokogiri (~> 1.6.0)
rails-deprecated_sanitizer (>= 1.0.1)
rails-html-sanitizer (1.0.3)
loofah (~> 2.0)
rails_autolink (1.1.6)
Expand Down Expand Up @@ -284,6 +290,7 @@ DEPENDENCIES
rack-dev-mark
rack-mini-profiler
rails (~> 4.2.6)
rails-dom-testing!
rails_autolink
rspec-expectations
sanitize (>= 3.0.0)
Expand Down

0 comments on commit 3de582f

Please sign in to comment.