Skip to content

Commit

Permalink
fix unit test descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
davidangb committed Nov 20, 2017
1 parent e9a637e commit e76a942
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -222,7 +222,7 @@ class AgoraMethodsSpec extends ApiServiceSpec with FlatSpecLike {
}
}

"Agora" should "return a 400 bad request when posting with a synopsis of 80 characters" in {
"Agora" should "return a Created success code when posting with a synopsis of 80 characters" in {
val testSynopsis = Some(fillerText.take(80))
Post(ApiUtil.Methods.withLeadingVersion, testAgoraEntity.copy(synopsis = testSynopsis)) ~>
methodsService.postRoute ~> check {
Expand All @@ -233,7 +233,7 @@ class AgoraMethodsSpec extends ApiServiceSpec with FlatSpecLike {
}
}

"Agora" should "return a 400 bad request when posting with a synopsis of 79 characters" in {
"Agora" should "return a Created success code when posting with a synopsis of 79 characters" in {
val testSynopsis = Some(fillerText.take(79))
Post(ApiUtil.Methods.withLeadingVersion, testAgoraEntity.copy(synopsis = testSynopsis)) ~>
methodsService.postRoute ~> check {
Expand All @@ -244,7 +244,7 @@ class AgoraMethodsSpec extends ApiServiceSpec with FlatSpecLike {
}
}

"Agora" should "return a 400 bad request when posting with a synopsis of 74 characters" in {
"Agora" should "return a Created success code when posting with a synopsis of 74 characters" in {
val testSynopsis = Some(fillerText.take(74))
Post(ApiUtil.Methods.withLeadingVersion, testAgoraEntity.copy(synopsis = testSynopsis)) ~>
methodsService.postRoute ~> check {
Expand Down

0 comments on commit e76a942

Please sign in to comment.