Skip to content

Commit

Permalink
Use send(cmd).
Browse files Browse the repository at this point in the history
  • Loading branch information
akr committed May 17, 2008
1 parent f826a40 commit b8f8eb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 1.8/core/time/shared/month.rb
@@ -1,7 +1,7 @@
shared :time_month do |cmd|
describe "Time##{cmd}" do
it "returns the month of the year" do
Time.at(99999).mon.should == 1
Time.at(99999).send(cmd).should == 1
end
end
end

0 comments on commit b8f8eb6

Please sign in to comment.