lib/spec/integration/example/integration_example_group.rb
def method_missing(sym, *args, &block) # :nodoc:
          return Spec::Matchers::Be.new(sym, *args) if sym.starts_with?("be_")
          return has(sym, *args) if sym.starts_with?("have_")
          super
        end
# Override ActionController::Integration::Runner method_missing to keep
# RSpec be_ and have_ matchers working.
#
Override ActionController::Integration::Runner method_missing to keep
RSpec be_ and have_ matchers working.
Override ActionController :: Integration :: Runner method_missing to keep RSpec be_ and have_ matchers working .
def method_missing(sym, *args, &block) 
          return Spec::Matchers::Be.new(sym, *args) if sym.starts_with?("be_")
          return has(sym, *args) if sym.starts_with?("have_")
          super
        end
def method_missing ( sym , * args , & block ) return Spec :: Matchers :: Be . new ( sym , * args ) if sym . starts_with? ( "be_" ) return has ( sym , * args ) if sym . starts_with? ( "have_" ) super end
Override ActionController::Integration::Runner method_missing to keep
RSpec be_ and have_ matchers working.
Override ActionController :: Integration :: Runner method_missing to keep RSpec be_ and have_ matchers working .
# :nodoc:
sym
args
block