Module: Capybara::RSpecMatchers::Compound
- Includes:
- RSpec::Matchers::Composable
- Included in:
- Matcher, NegatedMatcher
- Defined in:
- lib/capybara/rspec/compound.rb
Defined Under Namespace
Modules: Synchronizer
Classes: And, CapybaraEvaluator, Or
Instance Method Summary
collapse
Instance Method Details
#and(matcher) ⇒ Object
9
10
11
|
# File 'lib/capybara/rspec/compound.rb', line 9
def and(matcher)
And.new(self, matcher)
end
|
#and_then(matcher) ⇒ Object
13
14
15
|
# File 'lib/capybara/rspec/compound.rb', line 13
def and_then(matcher)
::RSpec::Matchers::BuiltIn::Compound::And.new(self, matcher)
end
|
#or(matcher) ⇒ Object
17
18
19
|
# File 'lib/capybara/rspec/compound.rb', line 17
def or(matcher)
Or.new(self, matcher)
end
|