Class: MarkdownExec::TestHashDelegatorBlockType

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

Instance Method Summary collapse

Instance Method Details

#setupObject



4784
4785
4786
# File 'lib/hash_delegator.rb', line 4784

def setup
  @hd = HashDelegator.new
end

#test_callObject

def history_files(

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

)



4814
4815
4816
4817
4818
# File 'lib/hash_delegator.rb', line 4814

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