Permalink
Browse files

renaming 'resources' to 'fixtures'

git-svn-id: http://mongodb-morph.googlecode.com/svn/trunk@110 406649b4-5d4b-11de-8abc-d1c337b90d21
  • Loading branch information...
1 parent aecbbe8 commit 8ef8bc10c7304aff675ccee53e8b2da1707d2426 XirisR committed Feb 1, 2010
@@ -28,13 +28,13 @@ public function testStoresUserAndFile()
{
$user = new User();
$user->Username = 'a_musing_moose';
- $user->Avatar = dirname(__FILE__).'/resources/flask.png';
+ $user->Avatar = dirname(__FILE__).'/fixtures/flask.png';
$user->save();
$this->assertCollectionExists('User');
$this->assertDocumentExists('User', $user->id());
$user->Avatar->write("test.png");
$this->assertFileExists('test.png');
- $originalFileHash = md5_file(dirname(__FILE__).'/resources/flask.png');
+ $originalFileHash = md5_file(dirname(__FILE__).'/fixtures/flask.png');
$retrievedFileHash = md5_file('test.png');
$this->assertEquals($originalFileHash, $retrievedFileHash);
}

0 comments on commit 8ef8bc1

Please sign in to comment.