Class: MarkdownExec::TestHashDelegatorBlockType

Inherits:
Minitest::Test
  • Object
show all
Defined in:
lib/hash_delegator.rb

Instance Method Summary collapse

Instance Method Details

#setupObject



6860
6861
6862
# File 'lib/hash_delegator.rb', line 6860

def setup
  @hd = HashDelegator.new
end

#test_callObject

def history_files(

direction: :reverse,
filename: nil,
home: Dir.pwd,
order: :chronological,
path: ''

)



6889
6890
6891
6892
6893
6894
# File 'lib/hash_delegator.rb', line 6889

def test_call
  @hd.expects(:history_files).with(filename: '*', path: nil).once
  @hd.execute_block_type_history_ux(
    filename: '*', link_state: LinkState.new, selected: FCB.new(body: [])
  )
end