Skip to content

Commit 51bd613

Browse files
committed
.map -> #map for consistency
1 parent cb47e1c commit 51bd613

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/thor_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def boring(*args)
164164
expect(MyScript.start(["-T", "fish"])).to eq(["fish"])
165165
end
166166

167-
it "calls the alias of a method if several are provided via .map" do
167+
it "calls the alias of a method if several are provided via #map" do
168168
expect(MyScript.start(["-f", "fish"])).to eq(["fish", {}])
169169
expect(MyScript.start(["--foo", "fish"])).to eq(["fish", {}])
170170
end

0 commit comments

Comments
 (0)