Class: OnlyofficeTestrailWrapper::RspecExceptionMock
- Inherits:
-
Object
- Object
- OnlyofficeTestrailWrapper::RspecExceptionMock
- Defined in:
- lib/onlyoffice_testrail_wrapper/mock/rspec_example_mock.rb
Overview
Mock Rspec example exception
Instance Attribute Summary collapse
-
#backtrace ⇒ Object
Returns the value of attribute backtrace.
Instance Method Summary collapse
-
#initialize ⇒ RspecExceptionMock
constructor
A new instance of RspecExceptionMock.
Constructor Details
#initialize ⇒ RspecExceptionMock
Returns a new instance of RspecExceptionMock.
8 9 10 |
# File 'lib/onlyoffice_testrail_wrapper/mock/rspec_example_mock.rb', line 8 def initialize @backtrace = %w[TestBackTraceLine1 TestBackTraceLine2] end |
Instance Attribute Details
#backtrace ⇒ Object
Returns the value of attribute backtrace.
6 7 8 |
# File 'lib/onlyoffice_testrail_wrapper/mock/rspec_example_mock.rb', line 6 def backtrace @backtrace end |