Class: Test::Right::Feature

Inherits:
Object
  • Object
show all
Extended by:
Utils::SubclassTracking
Includes:
Assertions
Defined in:
lib/test/right/feature.rb

Constant Summary collapse

WIDGET_TIMEOUT =

seconds

10

Constants included from Assertions

Assertions::DEFAULT_ASSERTION_TIMEOUT

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Utils::SubclassTracking

inherited, subclasses, wipe!

Methods included from Assertions

#assert, #assert_equal

Constructor Details

#initialize(driver, data) ⇒ Feature

Returns a new instance of Feature.



11
12
13
14
# File 'lib/test/right/feature.rb', line 11

def initialize(driver, data)
  @driver = driver
  @data = data
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



7
8
9
# File 'lib/test/right/feature.rb', line 7

def data
  @data
end