Sha256: 92fdaff18ac65470aa818c6cf41ee4b5edd0e9b871b780143e2378459eab4808
Contents?: true
Size: 423 Bytes
Versions: 48
Compression:
Stored size: 423 Bytes
Contents
require 'test_helper' class WorkPathTest < ActiveSupport::TestCase test 'should have a location' do assert Incline::WorkPath::location assert Dir.exist?(Incline::WorkPath::location) path = Incline::WorkPath::path_for 'test.file' File.write path, 'Hello World' assert File.exist?(path) assert_equal 'Hello World', File.read(path) File.delete path assert_not File.exist?(path) end end
Version data entries
48 entries across 48 versions & 1 rubygems