Skip to content
Snippets Groups Projects
Commit cd19f82e authored by Johannes Schleifenbaum's avatar Johannes Schleifenbaum
Browse files

Fix typos

parent 5e0e97ec
No related branches found
No related tags found
1 merge request!4660Fix typos
Showing
with 20 additions and 20 deletions
Loading
Loading
@@ -37,7 +37,7 @@ sudo -u gitlab -H bundle exec rake db:migrate RAILS_ENV=production
# backup old one
sudo mv /etc/init.d/gitlab /etc/init.d/gitlab.old
 
# get new one usign sidekiq
# get new one using sidekiq
sudo curl --output /etc/init.d/gitlab https://raw.github.com/gitlabhq/gitlab-recipes/4-1-stable/init.d/gitlab
sudo chmod +x /etc/init.d/gitlab
 
Loading
Loading
Loading
Loading
@@ -2,7 +2,7 @@
 
## Important changes
 
* We dont use `gitlab` user any more. Everything will be moved to `git` user
* We don't use `gitlab` user any more. Everything will be moved to `git` user
* __requires ruby1.9.3__
 
 
Loading
Loading
@@ -126,7 +126,7 @@ sudo service nginx restart
 
```
 
__7. Start gitlab instace__
__7. Start gitlab instance__
 
```
 
Loading
Loading
Loading
Loading
@@ -142,7 +142,7 @@ module Gitlab
# Remove all ssh keys from gitlab shell
#
# Ex.
# remmove_all_keys
# remove_all_keys
#
def remove_all_keys
system "#{gitlab_shell_user_home}/gitlab-shell/bin/gitlab-keys", "clear"
Loading
Loading
module Gitlab
# This module provide 2 methods
# to set specific ENV variabled for GitLab Shell
# to set specific ENV variables for GitLab Shell
module ShellEnv
extend self
 
Loading
Loading
Loading
Loading
@@ -116,7 +116,7 @@ module Gitlab
repo.git.fetch({timeout: true}, :origin)
end
 
# Create directory for stroing
# Create directory for storing
# satellites lock files
def create_locks_dir
FileUtils.mkdir_p(lock_files_dir)
Loading
Loading
Loading
Loading
@@ -43,7 +43,7 @@ namespace :gitlab do
end
end
 
desc "GITLAB | Cleanup | Clean respositories"
desc "GITLAB | Cleanup | Clean repositories"
task repos: :environment do
warn_user_is_not_gitlab
remove_flag = ENV['REMOVE']
Loading
Loading
Loading
Loading
@@ -42,7 +42,7 @@ namespace :gitlab do
username = user.email.match(/^[^@]*/)[0]
username.gsub!("+", ".")
 
# return username if no mathes
# return username if no matches
return username unless User.find_by_username(username)
 
# look for same username
Loading
Loading
Loading
Loading
@@ -55,7 +55,7 @@ namespace :gitlab do
# Runs the given command and matches the output against the given pattern
#
# Returns nil if nothing matched
# Retunrs the MatchData if the pattern matched
# Returns the MatchData if the pattern matched
#
# see also #run
# see also String#match
Loading
Loading
desc "GITLAB | Migrate Gropus to match v6.0"
desc "GITLAB | Migrate Groups to match v6.0"
task migrate_groups: :environment do
puts "This will add group owners to group membership"
ask_to_continue
Loading
Loading
Loading
Loading
@@ -287,7 +287,7 @@ describe GitlabMarkdownHelper do
gfm(":invalid-emoji:").should_not match(/<img/)
end
 
it "should work independet of reference links (i.e. without @project being set)" do
it "should work independent of reference links (i.e. without @project being set)" do
@project = nil
gfm(":+1:").should match(/<img/)
end
Loading
Loading
Loading
Loading
@@ -36,7 +36,7 @@ describe Gitlab::Auth do
end
 
 
it "should create from auth if user doesnot exist"do
it "should create from auth if user does not exist"do
User.stub find_by_extern_uid_and_provider: nil
User.stub find_by_email: nil
gl_auth.should_receive :create_from_omniauth
Loading
Loading
Loading
Loading
@@ -45,7 +45,7 @@ describe Issue do
end
 
describe '#is_being_reassigned?' do
it 'returnes issues assigned to user' do
it 'returns issues assigned to user' do
user = create :user
 
2.times do
Loading
Loading
Loading
Loading
@@ -127,11 +127,11 @@ describe Milestone do
issue = create :issue
end
 
it 'should be true if milestone active and all nestied issues closed' do
it 'should be true if milestone active and all nested issues closed' do
milestone.can_be_closed?.should be_true
end
 
it 'should be false if milestone active and not all nestied issues closed' do
it 'should be false if milestone active and not all nested issues closed' do
issue.milestone = milestone
issue.save
 
Loading
Loading
Loading
Loading
@@ -59,7 +59,7 @@ describe Namespace do
@namespace.stub(path_changed?: true)
end
 
it "should raise error when dirtory exists" do
it "should raise error when directory exists" do
expect { @namespace.move_dir }.to raise_error("namespace directory cannot be moved")
end
 
Loading
Loading
Loading
Loading
@@ -235,7 +235,7 @@ describe Project do
project.can_have_issues_tracker_id?.should be_false
end
 
it "should be always false if issues disbled" do
it "should be always false if issues disabled" do
project.issues_enabled = false
ext_project.issues_enabled = false
 
Loading
Loading
Loading
Loading
@@ -247,7 +247,7 @@ describe API::API do
end
 
describe "GET /user/keys/:id" do
it "should returm single key" do
it "should return single key" do
user.keys << key
user.save
get api("/user/keys/#{key.id}", user)
Loading
Loading
# Select2 ajax programatic helper
# Select2 ajax programmatic helper
# It allows you to select value from select2
#
# Params
Loading
Loading
Loading
Loading
@@ -30,7 +30,7 @@ describe 'gitlab:app namespace rake task' do
 
let(:gitlab_version) { %x{git rev-parse HEAD}.gsub(/\n/,"") }
 
it 'should fail on mismach' do
it 'should fail on mismatch' do
YAML.stub load_file: {gitlab_version: gitlab_version.reverse}
expect { run_rake_task }.to raise_error SystemExit
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment