Module: Capybara::RSpecMatchers::Compound

Includes:
RSpec::Matchers::Composable
Included in:
Matcher
Defined in:
lib/capybara/rspec/compound.rb

Defined Under Namespace

Classes: And, CapybaraEvaluator, Or

Instance Method Summary collapse

Instance Method Details

#and(matcher) ⇒ Object



6
7
8
# File 'lib/capybara/rspec/compound.rb', line 6

def and(matcher)
  Capybara::RSpecMatchers::Compound::And.new(self, matcher)
end

#and_then(matcher) ⇒ Object



10
11
12
# File 'lib/capybara/rspec/compound.rb', line 10

def and_then(matcher)
  ::RSpec::Matchers::BuiltIn::Compound::And.new(self, matcher)
end

#or(matcher) ⇒ Object



14
15
16
# File 'lib/capybara/rspec/compound.rb', line 14

def or(matcher)
  Capybara::RSpecMatchers::Compound::Or.new(self, matcher)
end