Skip to content

Commit

Permalink
Fix tests for changes in previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Sep 28, 2014
1 parent f8ba7da commit 7146491
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/TestCase/ORM/TableTest.php
Expand Up @@ -1133,7 +1133,7 @@ public function testAddBehaviorMissing() {
public function testCallBehaviorMethod() {
$table = TableRegistry::get('article');
$table->addBehavior('Sluggable');
$this->assertEquals('some_value', $table->slugify('some value'));
$this->assertEquals('some-value', $table->slugify('some value'));
}

/**
Expand All @@ -1144,7 +1144,7 @@ public function testCallBehaviorMethod() {
public function testCallBehaviorAliasedMethod() {
$table = TableRegistry::get('article');
$table->addBehavior('Sluggable', ['implementedMethods' => ['wednesday' => 'slugify']]);
$this->assertEquals('some_value', $table->wednesday('some value'));
$this->assertEquals('some-value', $table->wednesday('some value'));
}

/**
Expand Down

0 comments on commit 7146491

Please sign in to comment.