class Mutiny::Integration::RSpec::Test

Attributes

example[R]
rest[R]

Public Class Methods

new(example:, **rest) click to toggle source
Calls superclass method
# File lib/mutiny/integration/rspec/test.rb, line 9
def initialize(example:, **rest)
  super(rest)
  @example = example
  @rest = rest
end

Public Instance Methods

generalise() click to toggle source

Converts to a Mutiny::Tests::Test, which is independent of any specific testing framework

# File lib/mutiny/integration/rspec/test.rb, line 17
def generalise
  Mutiny::Tests::Test.new(@rest)
end