These tests should be in `spec/unit/type/file_spec.rb` since all of this behavior is implemented in the type.