mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2024-12-22 23:53:15 +01:00
Add poltergeist gem for phantomjs integration
This commit is contained in:
parent
41e1e56b7c
commit
27f02fd9fa
3 changed files with 13 additions and 0 deletions
1
Gemfile
1
Gemfile
|
@ -64,6 +64,7 @@ group :test do
|
||||||
gem 'test_after_commit' # TODO remove when moving to rails 5
|
gem 'test_after_commit' # TODO remove when moving to rails 5
|
||||||
gem 'database_cleaner'
|
gem 'database_cleaner'
|
||||||
gem 'coveralls', require: false
|
gem 'coveralls', require: false
|
||||||
|
gem 'poltergeist'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Use ActiveModel has_secure_password
|
# Use ActiveModel has_secure_password
|
||||||
|
|
10
Gemfile.lock
10
Gemfile.lock
|
@ -46,6 +46,7 @@ GEM
|
||||||
rack (>= 1.0.0)
|
rack (>= 1.0.0)
|
||||||
rack-test (>= 0.5.4)
|
rack-test (>= 0.5.4)
|
||||||
xpath (~> 2.0)
|
xpath (~> 2.0)
|
||||||
|
cliver (0.3.2)
|
||||||
coderay (1.1.0)
|
coderay (1.1.0)
|
||||||
coffee-rails (4.1.0)
|
coffee-rails (4.1.0)
|
||||||
coffee-script (>= 2.2.0)
|
coffee-script (>= 2.2.0)
|
||||||
|
@ -153,6 +154,11 @@ GEM
|
||||||
faraday
|
faraday
|
||||||
multi_json
|
multi_json
|
||||||
omniauth (~> 1.0)
|
omniauth (~> 1.0)
|
||||||
|
poltergeist (1.9.0)
|
||||||
|
capybara (~> 2.1)
|
||||||
|
cliver (~> 0.3.1)
|
||||||
|
multi_json (~> 1.0)
|
||||||
|
websocket-driver (>= 0.2.0)
|
||||||
pry (0.10.1)
|
pry (0.10.1)
|
||||||
coderay (~> 1.1.0)
|
coderay (~> 1.1.0)
|
||||||
method_source (~> 0.8.1)
|
method_source (~> 0.8.1)
|
||||||
|
@ -283,6 +289,9 @@ GEM
|
||||||
validate_url (1.0.2)
|
validate_url (1.0.2)
|
||||||
activemodel (>= 3.0.0)
|
activemodel (>= 3.0.0)
|
||||||
addressable
|
addressable
|
||||||
|
websocket-driver (0.6.3)
|
||||||
|
websocket-extensions (>= 0.1.0)
|
||||||
|
websocket-extensions (0.1.2)
|
||||||
win32console (1.3.2)
|
win32console (1.3.2)
|
||||||
xpath (2.0.0)
|
xpath (2.0.0)
|
||||||
nokogiri (~> 1.3)
|
nokogiri (~> 1.3)
|
||||||
|
@ -310,6 +319,7 @@ DEPENDENCIES
|
||||||
launchy
|
launchy
|
||||||
omniauth
|
omniauth
|
||||||
omniauth-browserid
|
omniauth-browserid
|
||||||
|
poltergeist
|
||||||
pry
|
pry
|
||||||
pry-rails
|
pry-rails
|
||||||
quiet_assets
|
quiet_assets
|
||||||
|
|
2
spec/support/capybara.rb
Normal file
2
spec/support/capybara.rb
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
require 'capybara/poltergeist'
|
||||||
|
Capybara.javascript_driver = :poltergeist
|
Loading…
Reference in a new issue