1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activesupport/test/core_ext/object
Brian Morearty d7da403dde Revert "Object#in? also accepts multiple parameters"
This reverts commit ebf69ab163.

`in?` must not take multiple parameters because its behavior would be
ambiguous:

    # Test if "B" is included in a list of names with `"B".in?(*names)`:
    names = ["BMorearty"]
    "B".in?(*names)   # => true

    names = ["BMorearty","rubyduo"]
    "B".in?(*names)   # => false

Conflicts:
	activesupport/lib/active_support/core_ext/object/inclusion.rb
	activesupport/test/core_ext/object/inclusion_test.rb
2013-05-01 04:32:20 -07:00
..
inclusion_test.rb Revert "Object#in? also accepts multiple parameters" 2013-05-01 04:32:20 -07:00
to_param_test.rb use AS::TestCase as the base class 2012-01-05 17:12:46 -08:00
to_query_test.rb remove unused parameter passed to assert_query_equal method 2013-03-17 15:15:00 +05:30