class RSpec::Mocks::Configuration

def syntax=(*values)


end
end
mocks.syntax = [:expect, :should]
rspec.mock_with :rspec do |mocks|
RSpec.configure do |rspec|

@example

disable `expect` syntax.
explicitly enable `should` syntax and/or explicitly
syntax by default. This is needed if you want to
`should` or both syntaxes. RSpec uses `expect`
Provides the ability to set either `expect`,
def syntax=(*values)
  syntaxes = values.flatten
  if syntaxes.include?(:expect)
    Syntax.enable_expect
  else
    Syntax.disable_expect
  end
  if syntaxes.include?(:should)
    Syntax.enable_should
  else
    Syntax.disable_should
  end
end