diff options
author | Ciro Santilli <ciro.santilli@gmail.com> | 2014-10-02 18:42:54 +0200 |
---|---|---|
committer | Ciro Santilli <ciro.santilli@gmail.com> | 2014-10-05 18:21:11 +0200 |
commit | fa34901237cc244fe8b828d079af891e63de1c8f (patch) | |
tree | b165b52a7ff478d7338068caab39ae62b7b1d06e /features/steps | |
parent | ac71c386f98fa9b88381abbf9d20e79f57bd7957 (diff) | |
download | gitlab-ce-fa34901237cc244fe8b828d079af891e63de1c8f.tar.gz |
Make Spinach test names consistent
- do not add Feature to feature titles
- titleize feature titles
- put steps on the same path as .feature files
- make feature titles match their path
Diffstat (limited to 'features/steps')
-rw-r--r-- | features/steps/dashboard/archived_projects.rb (renamed from features/steps/dashboard/with_archived_projects.rb) | 2 | ||||
-rw-r--r-- | features/steps/dashboard/help.rb (renamed from features/steps/help.rb) | 2 | ||||
-rw-r--r-- | features/steps/explore/groups.rb (renamed from features/steps/explore/groups_feature.rb) | 2 | ||||
-rw-r--r-- | features/steps/explore/projects.rb | 2 | ||||
-rw-r--r-- | features/steps/groups.rb (renamed from features/steps/group.rb) | 0 | ||||
-rw-r--r-- | features/steps/project/commits/branches.rb (renamed from features/steps/project/browse_branches.rb) | 2 | ||||
-rw-r--r-- | features/steps/project/commits/comments.rb (renamed from features/steps/project/comments_on_commits.rb) | 2 | ||||
-rw-r--r-- | features/steps/project/commits/commits.rb (renamed from features/steps/project/browse_commits.rb) | 2 | ||||
-rw-r--r-- | features/steps/project/commits/diff_comments.rb (renamed from features/steps/project/comments_on_commit_diffs.rb) | 2 | ||||
-rw-r--r-- | features/steps/project/commits/tags.rb (renamed from features/steps/project/browse_tags.rb) | 2 | ||||
-rw-r--r-- | features/steps/project/commits/user_lookup.rb (renamed from features/steps/project/browse_commits_user_lookup.rb) | 2 | ||||
-rw-r--r-- | features/steps/project/create.rb | 2 | ||||
-rw-r--r-- | features/steps/project/fork.rb | 2 | ||||
-rw-r--r-- | features/steps/project/issues/filter_labels.rb (renamed from features/steps/project/filter_labels.rb) | 2 | ||||
-rw-r--r-- | features/steps/project/issues/issues.rb (renamed from features/steps/project/issues.rb) | 0 | ||||
-rw-r--r-- | features/steps/project/issues/labels.rb (renamed from features/steps/project/labels.rb) | 2 | ||||
-rw-r--r-- | features/steps/project/issues/milestones.rb (renamed from features/steps/project/milestones.rb) | 2 | ||||
-rw-r--r-- | features/steps/project/project.rb | 2 | ||||
-rw-r--r-- | features/steps/project/source/browse_files.rb (renamed from features/steps/project/browse_files.rb) | 2 | ||||
-rw-r--r-- | features/steps/project/source/git_blame.rb (renamed from features/steps/project/browse_git_repo.rb) | 2 | ||||
-rw-r--r-- | features/steps/project/source/markdown_render.rb (renamed from features/steps/project/markdown_render.rb) | 2 | ||||
-rw-r--r-- | features/steps/project/source/multiselect_blob.rb (renamed from features/steps/project/multiselect_blob.rb) | 2 | ||||
-rw-r--r-- | features/steps/project/source/search_code.rb (renamed from features/steps/project/search_code.rb) | 2 | ||||
-rw-r--r-- | features/steps/snippets/discover.rb | 2 | ||||
-rw-r--r-- | features/steps/snippets/snippets.rb | 2 | ||||
-rw-r--r-- | features/steps/snippets/user.rb | 2 |
26 files changed, 24 insertions, 24 deletions
diff --git a/features/steps/dashboard/with_archived_projects.rb b/features/steps/dashboard/archived_projects.rb index 256629382a7..969baf92287 100644 --- a/features/steps/dashboard/with_archived_projects.rb +++ b/features/steps/dashboard/archived_projects.rb @@ -1,4 +1,4 @@ -class Spinach::Features::DashboardWithArchivedProjects < Spinach::FeatureSteps +class Spinach::Features::DashboardArchivedProjects < Spinach::FeatureSteps include SharedAuthentication include SharedPaths include SharedProject diff --git a/features/steps/help.rb b/features/steps/dashboard/help.rb index 0d1c9c00376..ef433c57c6e 100644 --- a/features/steps/help.rb +++ b/features/steps/dashboard/help.rb @@ -1,4 +1,4 @@ -class Spinach::Features::Help < Spinach::FeatureSteps +class Spinach::Features::DashboardHelp < Spinach::FeatureSteps include SharedAuthentication include SharedPaths include SharedMarkdown diff --git a/features/steps/explore/groups_feature.rb b/features/steps/explore/groups.rb index 94c918d932b..ccbf6cda07e 100644 --- a/features/steps/explore/groups_feature.rb +++ b/features/steps/explore/groups.rb @@ -1,4 +1,4 @@ -class Spinach::Features::ExploreGroupsFeature < Spinach::FeatureSteps +class Spinach::Features::ExploreGroups < Spinach::FeatureSteps include SharedAuthentication include SharedPaths include SharedGroup diff --git a/features/steps/explore/projects.rb b/features/steps/explore/projects.rb index 7248b2e8d8c..8172f7922cc 100644 --- a/features/steps/explore/projects.rb +++ b/features/steps/explore/projects.rb @@ -1,4 +1,4 @@ -class Spinach::Features::ExploreProjectsFeature < Spinach::FeatureSteps +class Spinach::Features::ExploreProjects < Spinach::FeatureSteps include SharedAuthentication include SharedPaths include SharedProject diff --git a/features/steps/group.rb b/features/steps/groups.rb index 616a297db99..616a297db99 100644 --- a/features/steps/group.rb +++ b/features/steps/groups.rb diff --git a/features/steps/project/browse_branches.rb b/features/steps/project/commits/branches.rb index 3b1e51f179a..07f7e5796a3 100644 --- a/features/steps/project/browse_branches.rb +++ b/features/steps/project/commits/branches.rb @@ -1,4 +1,4 @@ -class Spinach::Features::ProjectBrowseBranches < Spinach::FeatureSteps +class Spinach::Features::ProjectCommitsBranches < Spinach::FeatureSteps include SharedAuthentication include SharedProject include SharedPaths diff --git a/features/steps/project/comments_on_commits.rb b/features/steps/project/commits/comments.rb index 03e6867c7b1..3d4d8ad6368 100644 --- a/features/steps/project/comments_on_commits.rb +++ b/features/steps/project/commits/comments.rb @@ -1,4 +1,4 @@ -class Spinach::Features::CommentsOnCommits < Spinach::FeatureSteps +class Spinach::Features::ProjectCommitsComments < Spinach::FeatureSteps include SharedAuthentication include SharedNote include SharedPaths diff --git a/features/steps/project/browse_commits.rb b/features/steps/project/commits/commits.rb index 2048818e88c..c054e0e8282 100644 --- a/features/steps/project/browse_commits.rb +++ b/features/steps/project/commits/commits.rb @@ -1,4 +1,4 @@ -class Spinach::Features::ProjectBrowseCommits < Spinach::FeatureSteps +class Spinach::Features::ProjectCommits < Spinach::FeatureSteps include SharedAuthentication include SharedProject include SharedPaths diff --git a/features/steps/project/comments_on_commit_diffs.rb b/features/steps/project/commits/diff_comments.rb index 50b978a5d23..b9d8cf2c5a5 100644 --- a/features/steps/project/comments_on_commit_diffs.rb +++ b/features/steps/project/commits/diff_comments.rb @@ -1,4 +1,4 @@ -class Spinach::Features::CommentsOnCommitDiffs < Spinach::FeatureSteps +class Spinach::Features::ProjectCommitsDiffComments < Spinach::FeatureSteps include SharedAuthentication include SharedDiffNote include SharedPaths diff --git a/features/steps/project/browse_tags.rb b/features/steps/project/commits/tags.rb index 722c0a91076..3465fcbfd07 100644 --- a/features/steps/project/browse_tags.rb +++ b/features/steps/project/commits/tags.rb @@ -1,4 +1,4 @@ -class Spinach::Features::ProjectBrowseTags < Spinach::FeatureSteps +class Spinach::Features::ProjectCommitsTags < Spinach::FeatureSteps include SharedAuthentication include SharedProject include SharedPaths diff --git a/features/steps/project/browse_commits_user_lookup.rb b/features/steps/project/commits/user_lookup.rb index 196c69eda65..0622fef43bb 100644 --- a/features/steps/project/browse_commits_user_lookup.rb +++ b/features/steps/project/commits/user_lookup.rb @@ -1,4 +1,4 @@ -class Spinach::Features::ProjectBrowseCommitsUserLookup < Spinach::FeatureSteps +class Spinach::Features::ProjectCommitsUserLookup < Spinach::FeatureSteps include SharedAuthentication include SharedProject include SharedPaths diff --git a/features/steps/project/create.rb b/features/steps/project/create.rb index bcd2524c205..e1062a6ce39 100644 --- a/features/steps/project/create.rb +++ b/features/steps/project/create.rb @@ -1,4 +1,4 @@ -class Spinach::Features::CreateProject < Spinach::FeatureSteps +class Spinach::Features::ProjectCreate < Spinach::FeatureSteps include SharedAuthentication include SharedPaths diff --git a/features/steps/project/fork.rb b/features/steps/project/fork.rb index 791c6b1ffb9..da50ba9ced0 100644 --- a/features/steps/project/fork.rb +++ b/features/steps/project/fork.rb @@ -1,4 +1,4 @@ -class Spinach::Features::ForkProject < Spinach::FeatureSteps +class Spinach::Features::ProjectFork < Spinach::FeatureSteps include SharedAuthentication include SharedPaths include SharedProject diff --git a/features/steps/project/filter_labels.rb b/features/steps/project/issues/filter_labels.rb index aaa0cfe3379..e62fa9c84c8 100644 --- a/features/steps/project/filter_labels.rb +++ b/features/steps/project/issues/filter_labels.rb @@ -1,4 +1,4 @@ -class Spinach::Features::ProjectFilterLabels < Spinach::FeatureSteps +class Spinach::Features::ProjectIssuesFilterLabels < Spinach::FeatureSteps include SharedAuthentication include SharedProject include SharedPaths diff --git a/features/steps/project/issues.rb b/features/steps/project/issues/issues.rb index b55b3c6c8a2..b55b3c6c8a2 100644 --- a/features/steps/project/issues.rb +++ b/features/steps/project/issues/issues.rb diff --git a/features/steps/project/labels.rb b/features/steps/project/issues/labels.rb index b287e183b91..3e3e90824b4 100644 --- a/features/steps/project/labels.rb +++ b/features/steps/project/issues/labels.rb @@ -1,4 +1,4 @@ -class Spinach::Features::ProjectLabels < Spinach::FeatureSteps +class Spinach::Features::ProjectIssuesLabels < Spinach::FeatureSteps include SharedAuthentication include SharedProject include SharedPaths diff --git a/features/steps/project/milestones.rb b/features/steps/project/issues/milestones.rb index 13f917a6279..89d7af3c9ee 100644 --- a/features/steps/project/milestones.rb +++ b/features/steps/project/issues/milestones.rb @@ -1,4 +1,4 @@ -class Spinach::Features::ProjectMilestones < Spinach::FeatureSteps +class Spinach::Features::ProjectIssuesMilestones < Spinach::FeatureSteps include SharedAuthentication include SharedProject include SharedPaths diff --git a/features/steps/project/project.rb b/features/steps/project/project.rb index f543e47b4c2..f7fff8e64f9 100644 --- a/features/steps/project/project.rb +++ b/features/steps/project/project.rb @@ -1,4 +1,4 @@ -class Spinach::Features::ProjectFeature < Spinach::FeatureSteps +class Spinach::Features::Project < Spinach::FeatureSteps include SharedAuthentication include SharedProject include SharedPaths diff --git a/features/steps/project/browse_files.rb b/features/steps/project/source/browse_files.rb index 4310f519032..0642302e797 100644 --- a/features/steps/project/browse_files.rb +++ b/features/steps/project/source/browse_files.rb @@ -1,4 +1,4 @@ -class Spinach::Features::ProjectBrowseFiles < Spinach::FeatureSteps +class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps include SharedAuthentication include SharedProject include SharedPaths diff --git a/features/steps/project/browse_git_repo.rb b/features/steps/project/source/git_blame.rb index d8703aadb81..e29a816c51b 100644 --- a/features/steps/project/browse_git_repo.rb +++ b/features/steps/project/source/git_blame.rb @@ -1,4 +1,4 @@ -class Spinach::Features::ProjectBrowseGitRepo < Spinach::FeatureSteps +class Spinach::Features::ProjectSourceGitBlame < Spinach::FeatureSteps include SharedAuthentication include SharedProject include SharedPaths diff --git a/features/steps/project/markdown_render.rb b/features/steps/project/source/markdown_render.rb index a8631af2e05..53578ee5970 100644 --- a/features/steps/project/markdown_render.rb +++ b/features/steps/project/source/markdown_render.rb @@ -1,7 +1,7 @@ # If you need to modify the existing seed repository for your tests, # it is recommended that you make the changes on the `markdown` branch of the seed project repository, # which should only be used by tests in this file. See `/spec/factories.rb#project` for more info. -class Spinach::Features::ProjectMarkdownRender < Spinach::FeatureSteps +class Spinach::Features::ProjectSourceMarkdownRender < Spinach::FeatureSteps include SharedAuthentication include SharedPaths include SharedMarkdown diff --git a/features/steps/project/multiselect_blob.rb b/features/steps/project/source/multiselect_blob.rb index 611289a6162..b749ba49371 100644 --- a/features/steps/project/multiselect_blob.rb +++ b/features/steps/project/source/multiselect_blob.rb @@ -1,4 +1,4 @@ -class Spinach::Features::ProjectMultiselectBlob < Spinach::FeatureSteps +class Spinach::Features::ProjectSourceMultiselectBlob < Spinach::FeatureSteps include SharedAuthentication include SharedProject include SharedPaths diff --git a/features/steps/project/search_code.rb b/features/steps/project/source/search_code.rb index 5753296251f..9c2864cc936 100644 --- a/features/steps/project/search_code.rb +++ b/features/steps/project/source/search_code.rb @@ -1,4 +1,4 @@ -class Spinach::Features::ProjectSearchCode < Spinach::FeatureSteps +class Spinach::Features::ProjectSourceSearchCode < Spinach::FeatureSteps include SharedAuthentication include SharedProject include SharedPaths diff --git a/features/steps/snippets/discover.rb b/features/steps/snippets/discover.rb index da73dfc68be..42bccafcc84 100644 --- a/features/steps/snippets/discover.rb +++ b/features/steps/snippets/discover.rb @@ -1,4 +1,4 @@ -class Spinach::Features::DiscoverSnippets < Spinach::FeatureSteps +class Spinach::Features::SnippetsDiscover < Spinach::FeatureSteps include SharedAuthentication include SharedPaths include SharedSnippet diff --git a/features/steps/snippets/snippets.rb b/features/steps/snippets/snippets.rb index e8154c8ce57..dedbdd2c4f0 100644 --- a/features/steps/snippets/snippets.rb +++ b/features/steps/snippets/snippets.rb @@ -1,4 +1,4 @@ -class Spinach::Features::SnippetsFeature < Spinach::FeatureSteps +class Spinach::Features::Snippets < Spinach::FeatureSteps include SharedAuthentication include SharedPaths include SharedProject diff --git a/features/steps/snippets/user.rb b/features/steps/snippets/user.rb index 71a1952926f..ca9aa64bee6 100644 --- a/features/steps/snippets/user.rb +++ b/features/steps/snippets/user.rb @@ -1,4 +1,4 @@ -class Spinach::Features::UserSnippets < Spinach::FeatureSteps +class Spinach::Features::SnippetsUser < Spinach::FeatureSteps include SharedAuthentication include SharedPaths include SharedSnippet |