Class: MarkdownExec::TestHashDelegatorBlockType

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

Instance Method Summary collapse

Instance Method Details

#setupObject



6725
6726
6727
# File 'lib/hash_delegator.rb', line 6725

def setup
  @hd = HashDelegator.new
end

#test_callObject

def history_files(

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

)



6754
6755
6756
6757
6758
6759
# File 'lib/hash_delegator.rb', line 6754

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