Class: CallCenter::Test::MiniTest::DSL::ItShouldRender::Assertion

Inherits:
Object
  • Object
show all
Defined in:
lib/call_center/test/minitest/dsl.rb

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ Assertion

Returns a new instance of Assertion


193
194
195
# File 'lib/call_center/test/minitest/dsl.rb', line 193

def initialize(*args)
  @args = args
end

Instance Method Details

#setup(context) ⇒ Object


197
198
199
# File 'lib/call_center/test/minitest/dsl.rb', line 197

def setup(context)
  context.assert_select(*@args)
end