Changeset 6855

Show
Ignore:
Timestamp:
02/18/08 14:42:49 (5 years ago)
Author:
yoko
Message:

lang/ruby/citrus/trunk/plugins/gates_point.rb: テスト書いた

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/ruby/citrus/trunk/plugins/gates_point.rb

    r6624 r6855  
    2828 
    2929tests do 
     30 
    3031        describe GatesPoint do 
    3132                before :all do 
     
    3940 
    4041                it "should reply correctly" do 
    41 #                                       @socket.clear 
    42 #                                       @plugin.on_privmsg(@prefix, "#test", "foo") 
    43 #                                       @socket.pop.to_s.should == "NOTICE #test :Nice boat.\r\n" 
     42                        @socket.clear 
     43                        @plugin.on_privmsg(@prefix, "#test", "800gp") 
     44                        @socket.pop.to_s.should == "NOTICE #test :800ゲイツポイント = 1,184円\r\n" 
    4445                end 
    4546        end 
    4647 
    4748end 
    48