[Bps-public-commit] jifty-plugin-recordhistory branch, master, updated. 1fd9ca286fc7894b51cc0e3e4f536a82bf3e0a11
Shawn Moore
sartak at bestpractical.com
Wed Feb 9 21:29:21 EST 2011
The branch, master has been updated
via 1fd9ca286fc7894b51cc0e3e4f536a82bf3e0a11 (commit)
from c93df1661e27587220c1743f09ee3840554cf119 (commit)
Summary of changes:
.../RecordHistory/Mixin/Model/RecordHistory.pm | 1 +
t/TestApp-Plugin-RecordHistory/t/001-basic.t | 1 +
t/TestApp-Plugin-RecordHistory/t/003-action.t | 1 -
3 files changed, 2 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 1fd9ca286fc7894b51cc0e3e4f536a82bf3e0a11
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Wed Feb 9 21:29:17 2011 -0500
tidy
diff --git a/lib/Jifty/Plugin/RecordHistory/Mixin/Model/RecordHistory.pm b/lib/Jifty/Plugin/RecordHistory/Mixin/Model/RecordHistory.pm
index bcb5bed..efc32da 100644
--- a/lib/Jifty/Plugin/RecordHistory/Mixin/Model/RecordHistory.pm
+++ b/lib/Jifty/Plugin/RecordHistory/Mixin/Model/RecordHistory.pm
@@ -110,6 +110,7 @@ sub start_change {
my $change = Jifty::Plugin::RecordHistory::Model::Change->new;
$change->create(%args);
+
return $self->{change} = $change;
}
diff --git a/t/TestApp-Plugin-RecordHistory/t/001-basic.t b/t/TestApp-Plugin-RecordHistory/t/001-basic.t
index ece28ed..e689914 100644
--- a/t/TestApp-Plugin-RecordHistory/t/001-basic.t
+++ b/t/TestApp-Plugin-RecordHistory/t/001-basic.t
@@ -49,3 +49,4 @@ is($changes->count, 0, 'no more changes since we deleted the record');
my $change_fields = Jifty::Plugin::RecordHistory::Model::ChangeFieldCollection->new;
$change_fields->unlimit;
is($change_fields->count, 0, 'no more change fields since we deleted the record');
+
diff --git a/t/TestApp-Plugin-RecordHistory/t/003-action.t b/t/TestApp-Plugin-RecordHistory/t/003-action.t
index 0e9882a..d77bb8a 100644
--- a/t/TestApp-Plugin-RecordHistory/t/003-action.t
+++ b/t/TestApp-Plugin-RecordHistory/t/003-action.t
@@ -48,4 +48,3 @@ TODO: {
}
is($change_fields[1]->new_value, 'Brave New World', 'new value of author is BNW');
-
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list