class RSpec::Given::Framework
Framework
interface for RSpec/Given.
Constants
- PendingError
Public Instance Methods
count_assertion()
click to toggle source
# File lib/given/rspec/framework.rb 16 def count_assertion 17 end
explicit_assertions?()
click to toggle source
# File lib/given/rspec/framework.rb 12 def explicit_assertions? 13 @matcher_called 14 end
explicitly_asserted()
click to toggle source
# File lib/given/rspec/framework.rb 19 def explicitly_asserted 20 @matcher_called = true 21 end
fail_with(*args)
click to toggle source
# File lib/given/rspec/framework.rb 23 def fail_with(*args) 24 ::RSpec::Expectations.fail_with(*args) 25 end
pending_error()
click to toggle source
# File lib/given/rspec/framework.rb 29 def pending_error 30 RSpec::Core::Pending::PendingDeclaredInExample 31 end
start_evaluation()
click to toggle source
# File lib/given/rspec/framework.rb 8 def start_evaluation 9 @matcher_called = false 10 end