Skip to content

Commit

Permalink
Change back to repos instead of Repos in 'Public Repos', lowercase lo…
Browse files Browse the repository at this point in the history
…oks better
  • Loading branch information
daha committed Jul 12, 2012
1 parent 1c7f472 commit 2484d86
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions app/js/controllers.js
Expand Up @@ -70,8 +70,8 @@ function UserCtrl($scope, $routeParams, githubResource) {
$scope.user_info = githubResource.get({user: $routeParams.user, repo: ''});

$scope.publicRepoForms = {
'1': 'Public Repo',
'other': 'Public Repos'
'1': 'Public repo',
'other': 'Public repos'
};
$scope.followerForms = {
'1': 'Follower',
Expand Down
4 changes: 2 additions & 2 deletions test/e2e/scenarios.js
Expand Up @@ -83,7 +83,7 @@ describe('GitHub Contributors with mocked data', function () {

it('should display user stats', function () {
expect(element('.user-repos').text())
.toMatch(/\b2\s*Public Repos\b/);
.toMatch(/\b2\s*Public repos\b/);
expect(element('.user-followers').text())
.toMatch(/\b2\s*Followers\b/);
});
Expand Down Expand Up @@ -153,7 +153,7 @@ describe('GitHub Contributors with mocked data', function () {

it('should display user stats', function () {
expect(element('.user-repos').text())
.toMatch(/\b1\s*Public Repo\b/);
.toMatch(/\b1\s*Public repo\b/);
expect(element('.user-followers').text())
.toMatch(/\b1\s*Follower\b/);
});
Expand Down
4 changes: 2 additions & 2 deletions test/unit/controllersSpec.js
Expand Up @@ -93,8 +93,8 @@ describe('GitHub Contributors controllers', function () {
});

it('should define pluralization for Public repo', function () {
verifyForms(scope, 'publicRepoForms', 'Public Repo',
'Public Repos');
verifyForms(scope, 'publicRepoForms', 'Public repo',
'Public repos');
});

it('should define pluralization for Followers', function () {
Expand Down

0 comments on commit 2484d86

Please sign in to comment.