Sha256: 8b359c216af435ecad87adf28a6ef8db9a4bdb5fea85970dd5f8c516732f9738

Contents?: true

Size: 278 Bytes

Versions: 6

Compression:

Stored size: 278 Bytes

Contents

require 'test_helper'

class MockFileTest < ActiveSupport::TestCase

  def setup

  end

  def teardown

  end


  test "mock files can have data read from them" do
    file = mock_file()
    assert_not_nil file.path
    assert_equal "", open(file.path) { |f| f.read }
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
browsercms-3.4.2 test/unit/mock_file_test.rb
browsercms-3.4.2.rc1 test/unit/mock_file_test.rb
browsercms-3.4.1 test/unit/mock_file_test.rb
browsercms-3.4.0 test/unit/mock_file_test.rb
browsercms-3.4.0.rc2 test/unit/mock_file_test.rb
browsercms-3.4.0.rc1 test/unit/mock_file_test.rb