1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00

spelling fix [ci skip]

This commit is contained in:
Thomas Walpole 2016-11-29 08:12:37 -08:00
parent aab9825c0a
commit 6234d2d20b

View file

@ -125,7 +125,7 @@ module Capybara
begin
raise CapybaraError, "Your application server raised an error - It has been raised in your test code because Capybara.raise_server_errors == true"
rescue CapybaraError
#needed to get the cuase set correctly in JRuby -- otherwise we could just do raise @server.error
#needed to get the cause set correctly in JRuby -- otherwise we could just do raise @server.error
raise @server.error, @server.error.message, @server.error.backtrace
end
end