diff options
author | George Tsiolis <tsiolis.g@gmail.com> | 2018-10-30 13:53:01 +0300 |
---|---|---|
committer | George Tsiolis <tsiolis.g@gmail.com> | 2018-11-01 09:59:20 +0300 |
commit | 733ae9492129e835f183902a97ee0886e2dbdc9b (patch) | |
tree | 32aa99d320223c2476f57668e5419fada4bd0be9 /spec/lib/gitlab/cross_project_access | |
parent | c71c1f03c78cb3362bbe2baaf49a8e3573c96d1a (diff) |
Fix typos in comments and specs
Diffstat (limited to 'spec/lib/gitlab/cross_project_access')
-rw-r--r-- | spec/lib/gitlab/cross_project_access/check_info_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/cross_project_access/check_info_spec.rb b/spec/lib/gitlab/cross_project_access/check_info_spec.rb index bc9dbf2bece..239fa364f5e 100644 --- a/spec/lib/gitlab/cross_project_access/check_info_spec.rb +++ b/spec/lib/gitlab/cross_project_access/check_info_spec.rb @@ -50,7 +50,7 @@ describe Gitlab::CrossProjectAccess::CheckInfo do expect(info.should_run?(dummy_controller)).to be_truthy end - it 'returns the the oposite of #should_skip? when the check is a skip' do + it 'returns the the opposite of #should_skip? when the check is a skip' do info = described_class.new({}, nil, nil, true) expect(info).to receive(:should_skip?).with(dummy_controller).and_return(false) @@ -101,7 +101,7 @@ describe Gitlab::CrossProjectAccess::CheckInfo do expect(info.should_skip?(dummy_controller)).to be_truthy end - it 'returns the the oposite of #should_run? when the check is not a skip' do + it 'returns the the opposite of #should_run? when the check is not a skip' do info = described_class.new({}, nil, nil, false) expect(info).to receive(:should_run?).with(dummy_controller).and_return(false) |