class RSpec::Mocks::TargetBase
Public Instance Methods
che(*args)
click to toggle source
# File lib/italian/ruby/metodi/rspec.rb, line 47 def che(*args) to *args end
che_non(*args)
click to toggle source
# File lib/italian/ruby/metodi/rspec.rb, line 50 def che_non(*args) not_to *args end
Private Instance Methods
matcher_allowed?(matcher)
click to toggle source
# File lib/italian/ruby/metodi/rspec.rb, line 56 def matcher_allowed?(matcher) matcher.class.name.start_with?("RSpec::Mocks::Matchers".freeze) or matcher.class.name.start_with?("RSpec::Matchers::AliasedMatcher".freeze) end