Skip to content

Commit

Permalink
Clean out the empty whitespace lines
Browse files Browse the repository at this point in the history
  • Loading branch information
canni committed Jan 23, 2011
1 parent ed0ff0d commit 2accaf0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion EMongoDB.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,6 @@ public function __destruct(){
*/
public function dropDb()
{
$this->_mongoDb->drop();
$this->_mongoDb->drop();
}
}
8 changes: 4 additions & 4 deletions test/README.mkd
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ In your protected/config/main.php config file, add the following :
'components' => array(
'fixture'=>array(
'class'=>'EMongoDbFixtureManager',
),
),
...
),
Expand Down Expand Up @@ -60,7 +60,7 @@ That's all you can start using the fixture manager right now.
array('name', 'length', 'max' => 255),
);
}
public function attributeLabels()
{
return array(
Expand All @@ -77,7 +77,7 @@ That's all you can start using the fixture manager right now.

## Create fixture

Define the fixture collection like for ActiveRecords. Please
Define the fixture collection like for ActiveRecords. Please
check http://www.yiiframework.com/doc/guide/1.1/en/test.fixture

Fixture file Users.php for collection elements User
Expand Down Expand Up @@ -111,7 +111,7 @@ class UserTest extends EMongoDbTestCase {
$criteria->login('==',$this->Users['sample1']['login']);
$userFromDb = User::model()->find($criteria);
$this->assertEquals($userFromDb->login, $this->users['sample1']['login']);
}
}
}
~~~

Expand Down

0 comments on commit 2accaf0

Please sign in to comment.