@@ -67,11 +67,11 @@ describe Commit, models: true do
...
@@ -67,11 +67,11 @@ describe Commit, models: true do
expect(commit.title).toeq("--no commit message")
expect(commit.title).toeq("--no commit message")
end
end
it"truncates a message without a newline at 80 characters"do
it'truncates a message without a newline at natural break to 80 characters'do
message='Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sodales id felis id blandit. Vivamus egestas lacinia lacus, sed rutrum mauris.'
message='Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sodales id felis id blandit. Vivamus egestas lacinia lacus, sed rutrum mauris.'