Permalink
Browse files

add hack against prototype-rails

  • Loading branch information...
1 parent 3e02dc4 commit b9e9ed90952dd5580cca82da02321e3bbf0946c0 @grosser grosser committed Jun 28, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/call_center/test/dsl.rb
@@ -33,6 +33,8 @@ def response_from_page_or_rjs_with_body
alias_method :response_from_page_or_rjs_without_body, :response_from_page_or_rjs
alias_method :response_from_page_or_rjs, :response_from_page_or_rjs_with_body
+ elsif instance_methods.include?(:response_from_page_with_rjs) # prototype-rails hacks we do not want
+ alias_method :response_from_page, :response_from_page_without_rjs
end
end
end

0 comments on commit b9e9ed9

Please sign in to comment.