Skip to content

Commit

Permalink
Fixed a compilation issue in MongoRecordSpec.
Browse files Browse the repository at this point in the history
There was a call to .save without parens, which gave the compiler some
trouble in resolving the overload.
  • Loading branch information
Shadowfiend committed May 4, 2014
1 parent b629ef3 commit 1077452
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -836,7 +836,7 @@ class MongoRecordSpec extends Specification with MongoTestKit {
}

"update dirty fields for a ListTestRecord" in {
val ltr = ListTestRecord.createRecord.save
val ltr = ListTestRecord.createRecord.save()

ltr.mandatoryStringListField(List("abc", "def", "ghi"))
ltr.mandatoryStringListField.dirty_? must_== true
Expand Down

0 comments on commit 1077452

Please sign in to comment.