1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00

make webrat compatible with rails 4.1

This commit is contained in:
Vasiliy Ermolovich 2014-01-04 18:53:40 +03:00
parent 9dbc60d36d
commit 1b1be514c8

View file

@ -0,0 +1,10 @@
# Since webrat uses ActionController::RecordIdentifier class that was moved to
# ActionView namespace in Rails 4.1+
unless defined?(ActionController::RecordIdentifier)
require 'action_view/record_identifier'
module ActionController
RecordIdentifier = ActionView::RecordIdentifier
end
end