From bd5b5518929195cfb10c8e857f61161b008fbc79 Mon Sep 17 00:00:00 2001 From: Ben Fradet Date: Mon, 6 Apr 2020 15:24:48 +0200 Subject: [PATCH] Rename integration specs --- ...ivitiesSpec.scala => ActivitiesSpec.scala} | 2 +- .../{GHAuthSpec.scala => AuthSpec.scala} | 2 +- ...{GHGitDataSpec.scala => GitDataSpec.scala} | 2 +- .../{GHIssuesSpec.scala => IssuesSpec.scala} | 2 +- ...ionsSpec.scala => OrganizationsSpec.scala} | 2 +- ...HProjectsSpec.scala => ProjectsSpec.scala} | 2 +- ...uestsSpec.scala => PullRequestsSpec.scala} | 2 +- .../{GHReposSpec.scala => ReposSpec.scala} | 2 +- .../{GHTeamsSpec.scala => TeamsSpec.scala} | 2 +- .../{GHUsersSpec.scala => UsersSpec.scala} | 2 +- .../github4s/utils/BaseIntegrationSpec.scala | 20 +++++++++---------- 11 files changed, 20 insertions(+), 20 deletions(-) rename github4s/src/test/scala/github4s/integration/{GHActivitiesSpec.scala => ActivitiesSpec.scala} (98%) rename github4s/src/test/scala/github4s/integration/{GHAuthSpec.scala => AuthSpec.scala} (97%) rename github4s/src/test/scala/github4s/integration/{GHGitDataSpec.scala => GitDataSpec.scala} (98%) rename github4s/src/test/scala/github4s/integration/{GHIssuesSpec.scala => IssuesSpec.scala} (99%) rename github4s/src/test/scala/github4s/integration/{GHOrganizationsSpec.scala => OrganizationsSpec.scala} (97%) rename github4s/src/test/scala/github4s/integration/{GHProjectsSpec.scala => ProjectsSpec.scala} (98%) rename github4s/src/test/scala/github4s/integration/{GHPullRequestsSpec.scala => PullRequestsSpec.scala} (99%) rename github4s/src/test/scala/github4s/integration/{GHReposSpec.scala => ReposSpec.scala} (99%) rename github4s/src/test/scala/github4s/integration/{GHTeamsSpec.scala => TeamsSpec.scala} (97%) rename github4s/src/test/scala/github4s/integration/{GHUsersSpec.scala => UsersSpec.scala} (98%) diff --git a/github4s/src/test/scala/github4s/integration/GHActivitiesSpec.scala b/github4s/src/test/scala/github4s/integration/ActivitiesSpec.scala similarity index 98% rename from github4s/src/test/scala/github4s/integration/GHActivitiesSpec.scala rename to github4s/src/test/scala/github4s/integration/ActivitiesSpec.scala index b8513f8cb..af0c34ef6 100644 --- a/github4s/src/test/scala/github4s/integration/GHActivitiesSpec.scala +++ b/github4s/src/test/scala/github4s/integration/ActivitiesSpec.scala @@ -21,7 +21,7 @@ import github4s.Github import github4s.domain._ import github4s.utils.{BaseIntegrationSpec, Integration} -trait GHActivitiesSpec extends BaseIntegrationSpec { +trait ActivitiesSpec extends BaseIntegrationSpec { "Activity >> Set a thread subscription" should "return expected response when a valid thread id is provided" taggedAs Integration in { val response = clientResource diff --git a/github4s/src/test/scala/github4s/integration/GHAuthSpec.scala b/github4s/src/test/scala/github4s/integration/AuthSpec.scala similarity index 97% rename from github4s/src/test/scala/github4s/integration/GHAuthSpec.scala rename to github4s/src/test/scala/github4s/integration/AuthSpec.scala index 665258697..5ff8863aa 100644 --- a/github4s/src/test/scala/github4s/integration/GHAuthSpec.scala +++ b/github4s/src/test/scala/github4s/integration/AuthSpec.scala @@ -21,7 +21,7 @@ import github4s.Github import github4s.domain._ import github4s.utils.{BaseIntegrationSpec, Integration} -trait GHAuthSpec extends BaseIntegrationSpec { +trait AuthSpec extends BaseIntegrationSpec { "Auth >> NewAuth" should "return error on Left when invalid credential is provided" taggedAs Integration in { diff --git a/github4s/src/test/scala/github4s/integration/GHGitDataSpec.scala b/github4s/src/test/scala/github4s/integration/GitDataSpec.scala similarity index 98% rename from github4s/src/test/scala/github4s/integration/GHGitDataSpec.scala rename to github4s/src/test/scala/github4s/integration/GitDataSpec.scala index e70db1de3..28e09c11c 100644 --- a/github4s/src/test/scala/github4s/integration/GHGitDataSpec.scala +++ b/github4s/src/test/scala/github4s/integration/GitDataSpec.scala @@ -22,7 +22,7 @@ import github4s.Github import github4s.domain._ import github4s.utils.{BaseIntegrationSpec, Integration} -trait GHGitDataSpec extends BaseIntegrationSpec { +trait GitDataSpec extends BaseIntegrationSpec { "GitData >> GetReference" should "return a list of references" taggedAs Integration in { val response = clientResource diff --git a/github4s/src/test/scala/github4s/integration/GHIssuesSpec.scala b/github4s/src/test/scala/github4s/integration/IssuesSpec.scala similarity index 99% rename from github4s/src/test/scala/github4s/integration/GHIssuesSpec.scala rename to github4s/src/test/scala/github4s/integration/IssuesSpec.scala index 0ea24a529..a2880840d 100644 --- a/github4s/src/test/scala/github4s/integration/GHIssuesSpec.scala +++ b/github4s/src/test/scala/github4s/integration/IssuesSpec.scala @@ -21,7 +21,7 @@ import github4s.Github import github4s.domain._ import github4s.utils.{BaseIntegrationSpec, Integration} -trait GHIssuesSpec extends BaseIntegrationSpec { +trait IssuesSpec extends BaseIntegrationSpec { "Issues >> List" should "return a list of issues" taggedAs Integration in { val response = clientResource diff --git a/github4s/src/test/scala/github4s/integration/GHOrganizationsSpec.scala b/github4s/src/test/scala/github4s/integration/OrganizationsSpec.scala similarity index 97% rename from github4s/src/test/scala/github4s/integration/GHOrganizationsSpec.scala rename to github4s/src/test/scala/github4s/integration/OrganizationsSpec.scala index 6f8eb29d2..84012549f 100644 --- a/github4s/src/test/scala/github4s/integration/GHOrganizationsSpec.scala +++ b/github4s/src/test/scala/github4s/integration/OrganizationsSpec.scala @@ -21,7 +21,7 @@ import github4s.Github import github4s.domain._ import github4s.utils.{BaseIntegrationSpec, Integration} -trait GHOrganizationsSpec extends BaseIntegrationSpec { +trait OrganizationsSpec extends BaseIntegrationSpec { "Organization >> ListMembers" should "return the expected list of users" taggedAs Integration in { val response = clientResource diff --git a/github4s/src/test/scala/github4s/integration/GHProjectsSpec.scala b/github4s/src/test/scala/github4s/integration/ProjectsSpec.scala similarity index 98% rename from github4s/src/test/scala/github4s/integration/GHProjectsSpec.scala rename to github4s/src/test/scala/github4s/integration/ProjectsSpec.scala index 2a97692cb..9c1bf27e2 100644 --- a/github4s/src/test/scala/github4s/integration/GHProjectsSpec.scala +++ b/github4s/src/test/scala/github4s/integration/ProjectsSpec.scala @@ -21,7 +21,7 @@ import github4s.Github import github4s.domain.{Card, Column, Project} import github4s.utils.{BaseIntegrationSpec, Integration} -trait GHProjectsSpec extends BaseIntegrationSpec { +trait ProjectsSpec extends BaseIntegrationSpec { "Project >> ListProjects" should "return the expected projects when a valid org is provided" taggedAs Integration in { val response = clientResource diff --git a/github4s/src/test/scala/github4s/integration/GHPullRequestsSpec.scala b/github4s/src/test/scala/github4s/integration/PullRequestsSpec.scala similarity index 99% rename from github4s/src/test/scala/github4s/integration/GHPullRequestsSpec.scala rename to github4s/src/test/scala/github4s/integration/PullRequestsSpec.scala index ef8e3754a..20f561539 100644 --- a/github4s/src/test/scala/github4s/integration/GHPullRequestsSpec.scala +++ b/github4s/src/test/scala/github4s/integration/PullRequestsSpec.scala @@ -21,7 +21,7 @@ import github4s.Github import github4s.domain._ import github4s.utils.{BaseIntegrationSpec, Integration} -trait GHPullRequestsSpec extends BaseIntegrationSpec { +trait PullRequestsSpec extends BaseIntegrationSpec { "PullRequests >> Get" should "return a right response when a valid pr number is provided" taggedAs Integration in { val response = clientResource diff --git a/github4s/src/test/scala/github4s/integration/GHReposSpec.scala b/github4s/src/test/scala/github4s/integration/ReposSpec.scala similarity index 99% rename from github4s/src/test/scala/github4s/integration/GHReposSpec.scala rename to github4s/src/test/scala/github4s/integration/ReposSpec.scala index 16e2fc2c9..4fb610a68 100644 --- a/github4s/src/test/scala/github4s/integration/GHReposSpec.scala +++ b/github4s/src/test/scala/github4s/integration/ReposSpec.scala @@ -22,7 +22,7 @@ import github4s.Github import github4s.domain._ import github4s.utils.{BaseIntegrationSpec, Integration} -trait GHReposSpec extends BaseIntegrationSpec { +trait ReposSpec extends BaseIntegrationSpec { "Repos >> Get" should "return the expected name when a valid repo is provided" taggedAs Integration in { val response = clientResource diff --git a/github4s/src/test/scala/github4s/integration/GHTeamsSpec.scala b/github4s/src/test/scala/github4s/integration/TeamsSpec.scala similarity index 97% rename from github4s/src/test/scala/github4s/integration/GHTeamsSpec.scala rename to github4s/src/test/scala/github4s/integration/TeamsSpec.scala index e3497df0e..aeb36d88e 100644 --- a/github4s/src/test/scala/github4s/integration/GHTeamsSpec.scala +++ b/github4s/src/test/scala/github4s/integration/TeamsSpec.scala @@ -21,7 +21,7 @@ import github4s.Github import github4s.domain._ import github4s.utils.{BaseIntegrationSpec, Integration} -trait GHTeamsSpec extends BaseIntegrationSpec { +trait TeamsSpec extends BaseIntegrationSpec { "Team >> ListTeams" should "return the expected teams when a valid org is provided" taggedAs Integration in { val response = clientResource .use { client => diff --git a/github4s/src/test/scala/github4s/integration/GHUsersSpec.scala b/github4s/src/test/scala/github4s/integration/UsersSpec.scala similarity index 98% rename from github4s/src/test/scala/github4s/integration/GHUsersSpec.scala rename to github4s/src/test/scala/github4s/integration/UsersSpec.scala index a319eb7f3..2c28ffe38 100644 --- a/github4s/src/test/scala/github4s/integration/GHUsersSpec.scala +++ b/github4s/src/test/scala/github4s/integration/UsersSpec.scala @@ -21,7 +21,7 @@ import github4s.Github import github4s.domain._ import github4s.utils.{BaseIntegrationSpec, Integration} -trait GHUsersSpec extends BaseIntegrationSpec { +trait UsersSpec extends BaseIntegrationSpec { "Users >> Get" should "return the expected login for a valid username" taggedAs Integration in { val response = clientResource diff --git a/github4s/src/test/scala/github4s/utils/BaseIntegrationSpec.scala b/github4s/src/test/scala/github4s/utils/BaseIntegrationSpec.scala index 396d7a63b..4a7dcb249 100644 --- a/github4s/src/test/scala/github4s/utils/BaseIntegrationSpec.scala +++ b/github4s/src/test/scala/github4s/utils/BaseIntegrationSpec.scala @@ -29,16 +29,16 @@ import scala.concurrent.ExecutionContext class IntegrationSpec extends BaseIntegrationSpec - with GHActivitiesSpec - with GHAuthSpec - with GHGitDataSpec - with GHIssuesSpec - with GHOrganizationsSpec - with GHPullRequestsSpec - with GHReposSpec - with GHUsersSpec - with GHTeamsSpec - with GHProjectsSpec + with ActivitiesSpec + with AuthSpec + with GitDataSpec + with IssuesSpec + with OrganizationsSpec + with PullRequestsSpec + with ReposSpec + with UsersSpec + with TeamsSpec + with ProjectsSpec object Integration extends Tag(