Skip to content

Commit

Permalink
.map -> #map for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
rthbound committed Jun 24, 2013
1 parent cb47e1c commit 51bd613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/thor_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def boring(*args)
expect(MyScript.start(["-T", "fish"])).to eq(["fish"])
end

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

0 comments on commit 51bd613

Please sign in to comment.