Skip to content

Commit

Permalink
correct spelling mistakes (#5748)
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
EdwardBetts authored and oliverguenther committed Jul 12, 2017
1 parent 998dcbf commit 437bbd5
Show file tree
Hide file tree
Showing 16 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Expand Up @@ -88,7 +88,7 @@ Pull requests will be verified by TravisCI as well,
but please run them locally as well and make sure they are green before creating your pull request.
We have a lot of pull requests coming in and it takes some time to run the complete suite for each one.

If you push to your branch in quick sucession, please consider stopping the associated Travis builds, as Travis will run for each commit. This is especially true if you force push to the branch.
If you push to your branch in quick succession, please consider stopping the associated Travis builds, as Travis will run for each commit. This is especially true if you force push to the branch.

Please also use `[ci skip]` in your commit message to suppress builds which are not necessary
(e.g. after fixing a typo in the `README`).
Expand Down
4 changes: 2 additions & 2 deletions spec/controllers/api/v2/planning_elements_controller_spec.rb
Expand Up @@ -265,7 +265,7 @@ def work_packages_to_structs(work_packages)
become_member_with_view_planning_element_permissions { [project_a, project_b] }
become_non_member { [project_c] }

it 'renders only accessable work packages' do
it 'renders only accessible work packages' do
get 'index',
params: {
ids: [@project_a_wps[0].id, @project_b_wps[0].id,
Expand All @@ -276,7 +276,7 @@ def work_packages_to_structs(work_packages)
expect(assigns(:planning_elements)).to match_array([@project_a_wps[0], @project_b_wps[0]])
end

it 'renders only accessable work packages' do
it 'renders only accessible work packages' do
get 'index',
params: { ids: [@project_c_wps[0].id, @project_c_wps[1].id].join(',') },
format: 'xml'
Expand Down
2 changes: 1 addition & 1 deletion spec/features/work_packages/table/hierarchy_spec.rb
Expand Up @@ -54,7 +54,7 @@
hierarchy.disable_hierarchy
hierarchy.expect_no_hierarchies

# Editing is possible while retaining hierachy
# Editing is possible while retaining hierarchy
hierarchy.enable_hierarchy
subject = wp_table.edit_field wp_inter, :subject
subject.update 'New subject'
Expand Down
2 changes: 1 addition & 1 deletion spec/features/work_packages/table/modal_focus_spec.rb
Expand Up @@ -22,7 +22,7 @@
end

describe 'columns' do
it 'sets the focus in the colum selection' do
it 'sets the focus in the column selection' do
within '#settingsDropdown' do
click_link 'Columns'
end
Expand Down
6 changes: 3 additions & 3 deletions spec/lib/api/utilities/property_name_converter_spec.rb
Expand Up @@ -97,15 +97,15 @@
context 'requesting ids via refer_to_ids' do
subject { described_class.to_ar_name(attribute_name, context: context, refer_to_ids: true) }

context 'for keys refering to a belongs_to association' do
context 'for keys referring to a belongs_to association' do
let(:attribute_name) { 'status' }

it 'adds an id suffix' do
is_expected.to eql('status_id')
end
end

context 'for keys refering to a has_many association' do
context 'for keys referring to a has_many association' do
let(:attribute_name) { 'watcher' }

it 'adds an id suffix' do
Expand Down Expand Up @@ -163,7 +163,7 @@
is_expected.to eql('updated_at')
end

context 'in an apropriate context' do
context 'in an appropriate context' do
let(:context) { FactoryGirl.build_stubbed(:version) }

it 'should be performed' do
Expand Down
Expand Up @@ -250,7 +250,7 @@
end
end

context 'not beeing admin' do
context 'not being admin' do
it 'has no link to configure the form' do
is_expected.to_not have_json_path('_links/configureForm')
end
Expand Down
Expand Up @@ -229,7 +229,7 @@
end
end

context 'not beeing admin' do
context 'not being admin' do
it 'has no link to configure the form' do
is_expected.to_not have_json_path('_links/configureForm')
end
Expand Down
2 changes: 1 addition & 1 deletion spec/models/journal_notification_mailer_spec.rb
Expand Up @@ -290,7 +290,7 @@ def update_by(author, attributes)
end

context 'journal 3 created after timeout of 1 and 2' do
# This is a normal case again, ensuring Journal 3 takes no responsiblity when not neccessary.
# This is a normal case again, ensuring Journal 3 takes no responsibility when not necessary.

describe 'Journal 3' do
include_context 'updated until Journal 3'
Expand Down
2 changes: 1 addition & 1 deletion spec/models/users/allowed_to_spec.rb
Expand Up @@ -300,7 +300,7 @@

context 'w/ the user being anonymous
w/ requesting a controller and action allowed by multiple permissions
w/ the project beeing public
w/ the project being public
w/ anonymous being allowed the action' do
let(:permission) { { controller: 'projects', action: 'settings' } }

Expand Down
12 changes: 6 additions & 6 deletions spec/models/work_package/work_package_nested_set_spec.rb
Expand Up @@ -105,7 +105,7 @@
end
end

describe 'an existant instance receives a parent' do
describe 'an existent instance receives a parent' do
before do
parent.save!
instance.save!
Expand All @@ -116,7 +116,7 @@
it_should_behave_like 'first child'
end

describe 'an existant instance becomes a root' do
describe 'an existent instance becomes a root' do
before do
parent.save!
instance.parent = parent
Expand All @@ -132,7 +132,7 @@
end
end

describe 'an existant instance receives a new parent (new tree)' do
describe 'an existent instance receives a new parent (new tree)' do
before do
parent.save!
parent2.save!
Expand All @@ -150,7 +150,7 @@
end
end

describe "an existant instance
describe "an existent instance
with a right sibling receives a new parent" do
let(:other_child) { work_package3 }

Expand Down Expand Up @@ -196,7 +196,7 @@
end
end

describe 'an existant instance receives a new parent (same tree)' do
describe 'an existent instance receives a new parent (same tree)' do
before do
parent.save!
parent2.save!
Expand All @@ -210,7 +210,7 @@
it_should_behave_like 'first child'
end

describe 'an existant instance with children receives a new parent (itself)' do
describe 'an existent instance with children receives a new parent (itself)' do
let(:child) { work_package3 }

before do
Expand Down
8 changes: 4 additions & 4 deletions spec/models/work_package/work_package_relations_spec.rb
Expand Up @@ -329,7 +329,7 @@
relation_type: Relation::TYPE_PRECEDES)
}

shared_examples_for 'all dependant work packages visible' do
shared_examples_for 'all dependent work packages visible' do
subject { work_package_1.all_dependent_packages.map(&:id) }

it { is_expected.to match_array(expected_ids) }
Expand All @@ -349,7 +349,7 @@
relation_type: Relation::TYPE_PRECEDES)
}

it_behaves_like 'all dependant work packages visible'
it_behaves_like 'all dependent work packages visible'
end

context 'with circular dependency' do
Expand All @@ -367,7 +367,7 @@

before do relation_3.save(validate: false) end

it_behaves_like 'all dependant work packages visible'
it_behaves_like 'all dependent work packages visible'
end

context 'with multiple circular dependency' do
Expand Down Expand Up @@ -402,7 +402,7 @@
relation_5.save(validate: false)
end

it_behaves_like 'all dependant work packages visible'
it_behaves_like 'all dependent work packages visible'
end
end
end
Expand Down
Expand Up @@ -70,7 +70,7 @@
expect(actual_type_ids).to match_array expected_type_ids
end

# N.B. this test depends on order, while this is not strictly neccessary
# N.B. this test depends on order, while this is not strictly necessary
it 'only contains expected types' do
(0..3).each do |i|
expected_id = expected_types[i].id.to_json
Expand Down
4 changes: 2 additions & 2 deletions spec/services/scm/create_managed_repository_service_spec.rb
Expand Up @@ -109,7 +109,7 @@
end
end

context 'with a permission error occuring in the Job' do
context 'with a permission error occurring in the Job' do
before do
allow(Scm::CreateLocalRepositoryJob)
.to receive(:new).and_raise(Errno::EACCES)
Expand All @@ -123,7 +123,7 @@
end
end

context 'with an OS error occuring in the Job' do
context 'with an OS error occurring in the Job' do
before do
allow(Scm::CreateLocalRepositoryJob)
.to receive(:new).and_raise(Errno::ENOENT)
Expand Down
4 changes: 2 additions & 2 deletions spec/services/update_work_package_service_spec.rb
Expand Up @@ -346,7 +346,7 @@
end
end

context 'with the parent being resticted but the attributes define a later date' do
context 'with the parent being restricted but the attributes define a later date' do
let(:soonest_date) { Date.today + 3.days }

before do
Expand All @@ -363,7 +363,7 @@
end
end

context 'with the parent being resticted but the attributes define an earlier date' do
context 'with the parent being restricted but the attributes define an earlier date' do
let(:soonest_date) { Date.today + 3.days }

before do
Expand Down
2 changes: 1 addition & 1 deletion spec/support/repository_helpers.rb
Expand Up @@ -71,7 +71,7 @@ def with_git_repository(&block)
##
# Many specs required any repository to be available,
# often Filesystem adapter was used, even though
# no actual filesystem access occured.
# no actual filesystem access occurred.
# Instead, we wrap these repository specs in a virtual
# subversion repository which does not exist on disk.
def with_virtual_subversion_repository(&block)
Expand Down
Expand Up @@ -185,7 +185,7 @@
end

context 'journal 3 created after timeout of 1 and 2' do
# This is a normal case again, ensuring nobody takes responsiblity when not neccessary.
# This is a normal case again, ensuring nobody takes responsibility when not necessary.

before do
journal_2.created_at = journal_1.created_at + (timeout / 2)
Expand Down

0 comments on commit 437bbd5

Please sign in to comment.