blob: 9f57e48353073b8563f6ba258a6d7789cc154f79 [file] [log] [blame]
atoulmedbe670e2009-01-27 11:23:51 +00001<?php
2/*******************************************************************************
3 * Copyright (c) 2007-2009 Intalio, Inc.
4 * All rights reserved. This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License v1.0
6 * which accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 *
9 * Contributors:
10 * Antoine Toulme, Intalio Inc.
11*******************************************************************************/
12
13define('BABEL_BASE_DIR', "../../");
14
15require("../spec_helper.php");
16require (BABEL_BASE_DIR . "classes/system/file.class.php");
17
18class DescribeFileClass extends PHPSpec_Context {
19
20 public function before() {
21 }
22
23 public function itShouldAppendTheLangCode() {
24 $this->spec(File->appendLangCode('en_AA', 'blah.properties'))->should->equal('blah_en_AA.properties');
25 }
26}
27
28?>