spec/receiver_spec.rb in gorillib-0.1.5 vs spec/receiver_spec.rb in gorillib-0.1.6
- old
+ new
@@ -465,10 +465,10 @@
[obj.my_int, obj.repeated, obj.just_second].should == [1, 20, 30]
end
# ---------------------------------------------------------------------------
- describe 'core class .receive method' do
+ it 'core class .receive method' do
Symbol.receive('hi').should == :hi
Integer.receive(3.4).should == 3
Float.receive("4.5").should == 4.5
String.receive(4.5).should == "4.5"
Time.receive('1985-11-05T04:03:02Z').should == Time.parse('1985-11-05T04:03:02Z')