spec/eotb_spec.rb in eotb-0.1.1 vs spec/eotb_spec.rb in eotb-0.1.2

- old
+ new

@@ -3,17 +3,13 @@ describe Eotb do before(:each) do Eotb.new() Eotb.configure('0', '127.0.0.1', '3000') - @data = [:actor, :action, {:username => 'Vuvuzela'}] + @data = ['actor', 'action', 'username'] end - it "should check connection status" do - Eotb.http.get('/').code.should eql('200') - end - - it "should post data in json" do - Eotb.register_event(@data[0], @data[1], @data[2]).code.should eql('200') + it "should post data to unknown server" do + Eotb.register_event(@data[0], @data[1], @data[2]).code.should eql('500') end end \ No newline at end of file