Skip to content

Commit cb47e1c

Browse files
committed
Fix typos in util_spec
1 parent 464f344 commit cb47e1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/util_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,11 @@ def self.clear_user_home!
124124
Thor::Util.clear_user_home!
125125
end
126126

127-
it "returns the user path if none variable is set on the environment" do
127+
it "returns the user path if no variable is set on the environment" do
128128
expect(Thor::Util.user_home).to eq(File.expand_path("~"))
129129
end
130130

131-
it "returns the *unix system path if file cannot be expanded and separator does not exist" do
131+
it "returns the *nix system path if file cannot be expanded and separator does not exist" do
132132
File.should_receive(:expand_path).with("~").and_raise(RuntimeError)
133133
previous_value = File::ALT_SEPARATOR
134134
capture(:stderr){ File.const_set(:ALT_SEPARATOR, false) }

0 commit comments

Comments
 (0)