We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 464f344 commit cb47e1cCopy full SHA for cb47e1c
spec/util_spec.rb
@@ -124,11 +124,11 @@ def self.clear_user_home!
124
Thor::Util.clear_user_home!
125
end
126
127
- it "returns the user path if none variable is set on the environment" do
+ it "returns the user path if no variable is set on the environment" do
128
expect(Thor::Util.user_home).to eq(File.expand_path("~"))
129
130
131
- it "returns the *unix system path if file cannot be expanded and separator does not exist" do
+ it "returns the *nix system path if file cannot be expanded and separator does not exist" do
132
File.should_receive(:expand_path).with("~").and_raise(RuntimeError)
133
previous_value = File::ALT_SEPARATOR
134
capture(:stderr){ File.const_set(:ALT_SEPARATOR, false) }
0 commit comments