Class: OnlyofficeTestrailWrapper::RspecExceptionMock

Inherits:
Object
  • Object
show all
Defined in:
lib/onlyoffice_testrail_wrapper/mock/rspec_example_mock.rb

Overview

Mock Rspec example exception

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeRspecExceptionMock

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

#backtraceObject

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