Skip to content

Commit 9584ecb

Browse files
committed
fixing gender sensitive pronouns
1 parent bdac13b commit 9584ecb

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

spec/components/guardian_spec.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1189,7 +1189,7 @@
11891189
let(:target_user) { build(:user, created_at: 1.minute.ago) }
11901190
include_examples "staff can always change usernames"
11911191

1192-
it "is true for the user to change his own username" do
1192+
it "is true for the user to change their own username" do
11931193
Guardian.new(target_user).can_edit_username?(target_user).should be_true
11941194
end
11951195
end
@@ -1203,15 +1203,15 @@
12031203

12041204
context 'with no posts' do
12051205
include_examples "staff can always change usernames"
1206-
it "is true for the user to change his own username" do
1206+
it "is true for the user to change their own username" do
12071207
Guardian.new(target_user).can_edit_username?(target_user).should be_true
12081208
end
12091209
end
12101210

12111211
context 'with posts' do
12121212
before { target_user.stubs(:post_count).returns(1) }
12131213
include_examples "staff can always change usernames"
1214-
it "is false for the user to change his own username" do
1214+
it "is false for the user to change their own username" do
12151215
Guardian.new(target_user).can_edit_username?(target_user).should be_false
12161216
end
12171217
end
@@ -1224,7 +1224,7 @@
12241224

12251225
include_examples "staff can always change usernames"
12261226

1227-
it "is false for the user to change his own username" do
1227+
it "is false for the user to change their own username" do
12281228
Guardian.new(user).can_edit_username?(user).should be_false
12291229
end
12301230
end
@@ -1244,7 +1244,7 @@
12441244
Guardian.new(build(:user)).can_edit_email?(build(:user, created_at: 1.minute.ago)).should be_false
12451245
end
12461246

1247-
it "is true for a regular user to edit his own email" do
1247+
it "is true for a regular user to edit their own email" do
12481248
Guardian.new(user).can_edit_email?(user).should be_true
12491249
end
12501250

@@ -1270,7 +1270,7 @@
12701270
Guardian.new(build(:user)).can_edit_email?(build(:user, created_at: 1.minute.ago)).should be_false
12711271
end
12721272

1273-
it "is false for a regular user to edit his own email" do
1273+
it "is false for a regular user to edit their own email" do
12741274
Guardian.new(user).can_edit_email?(user).should be_false
12751275
end
12761276

0 commit comments

Comments
 (0)