summaryrefslogtreecommitdiff
path: root/test/support
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2016-03-24 08:54:38 +0100
committerAzul <azul@riseup.net>2016-05-02 08:24:41 -0300
commit52a6dc82305f0268684ceb10557773b862bc611c (patch)
tree9b6489d7f018c965eae016fdce6faa9dda9f6f20 /test/support
parentc7ef6adcd20e9ac9ca729a3ee2a718d31fbb6b51 (diff)
fix browser_integration_test
we need to require 'capybara/rails' so that Capybara::DSL is available. ActionController::RecordIdentifier was moved to ActionView
Diffstat (limited to 'test/support')
-rw-r--r--test/support/browser_integration_test.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/support/browser_integration_test.rb b/test/support/browser_integration_test.rb
index 1deb8fa..5455fba 100644
--- a/test/support/browser_integration_test.rb
+++ b/test/support/browser_integration_test.rb
@@ -3,10 +3,11 @@
#
# Use this class for capybara based integration tests for the ui.
#
+require 'capybara/rails'
class BrowserIntegrationTest < ActionDispatch::IntegrationTest
# let's use dom_id inorder to identify sections
- include ActionController::RecordIdentifier
+ include ActionView::RecordIdentifier
CONFIG_RU = (Rails.root + 'config.ru').to_s
OUTER_APP = Rack::Builder.parse_file(CONFIG_RU).first