test/test_helper.rb in better_frame-0.0.5 vs test/test_helper.rb in better_frame-0.1.0
- old
+ new
@@ -6,9 +6,12 @@
ActiveRecord::Migrator.migrations_paths << File.expand_path('../../db/migrate', __FILE__)
require "rails/test_help"
require 'capybara/rails'
require 'capybara/poltergeist'
+Capybara.server_port = 22222
+ENV["BETTER_FRAME_ORIGIN"] = "http://127.0.0.1:#{Capybara.server_port}"
+
# Filter out Minitest backtrace while allowing backtrace from other libraries
# to be shown.
Minitest.backtrace_filter = Minitest::BacktraceFilter.new
# Load support files