class TwSubclass

Instance of this class will be available as @tw variable inside of RSpec context

Constants

BASE_OPTIONS

Define your options and situation below

DEFAULT_OPTIONS
SITUATIONS

Public Instance Methods

after_each(example, context) click to toggle source
# File lib/swat/test_world/templates/test_world_subclass.rb, line 22
def after_each(example, context)
  # do something
end
before_each(example, context) click to toggle source
# File lib/swat/test_world/templates/test_world_subclass.rb, line 18
def before_each(example, context)
  # do something
end
init_situation() click to toggle source
# File lib/swat/test_world/templates/test_world_subclass.rb, line 14
def init_situation
  # implement your situations
end