Skip to content

Commit

Permalink
s/seperator/separator/
Browse files Browse the repository at this point in the history
  • Loading branch information
ydah authored and JonRowe committed Sep 12, 2022
1 parent 726b0f2 commit 3435a32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/rspec/support/ruby_features_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ module Support
end

describe ".windows_file_path?" do
it "returns true when the file alt seperator is a colon" do
it "returns true when the file alt separator is a colon" do
stub_const("File::ALT_SEPARATOR", "\\") unless OS.windows?
expect(OS).to be_windows_file_path
end

it "returns false when file alt seperator is not present" do
it "returns false when file alt separator is not present" do
stub_const("File::ALT_SEPARATOR", nil) if OS.windows?
expect(OS).to_not be_windows_file_path
end
Expand Down

0 comments on commit 3435a32

Please sign in to comment.