Permalink
Browse files

Not sure what the correct check for inflector is here but this seems …

…to work for this app
  • Loading branch information...
xaviershay committed Oct 3, 2008
1 parent 0bea9b2 commit 21ad3dbf55b1a736a754f7d927e53a932afb9586
Showing with 1 addition and 1 deletion.
  1. +1 −1 vendor/plugins/rspec/lib/spec/matchers/have.rb
@@ -17,7 +17,7 @@ def relativities
def method_missing(sym, *args, &block)
@collection_name = sym
- @plural_collection_name = ActiveSupport::Inflector.pluralize(sym.to_s) if Object.const_defined?(:"ActiveSupport::Inflector")
+ @plural_collection_name = ActiveSupport::Inflector.pluralize(sym.to_s) if Object.const_defined?(:Inflector)
@args = args
@block = block
self

0 comments on commit 21ad3db

Please sign in to comment.