Sha256: df14005a69a65088c639fcd6cc90d528e9e96faf8ec5c3b789323bc7a132b205
Contents?: true
Size: 465 Bytes
Versions: 5
Compression:
Stored size: 465 Bytes
Contents
RSpec::Matchers.define :create_directory do |dir_name| match do |block| return false if Dir.exist? dir_name # change this to use a proper message block.call Dir.exist? dir_name end supports_block_expectations end RSpec::Matchers.define :create_file do |file_name| match do |block| return false if File.exist? file_name # change this to use a proper message block.call File.exist? file_name end supports_block_expectations end
Version data entries
5 entries across 5 versions & 1 rubygems