Sha256: e5d693b2a456d8334c3e73784d92001f54d8f71b87e0048704a3907312cd3439

Contents?: true

Size: 353 Bytes

Versions: 3

Compression:

Stored size: 353 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/spec_helper')

describe Eotb do
  
  before(:each) do
    Eotb.new()
    Eotb.configure('0', '127.0.0.1', '3000')
    @data = ['actor', 'action', 'username']
  end
  
  it "should post data to unknown server" do
    Eotb.register_event(@data[0], @data[1], @data[2]).code.should eql('500')
  end
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
eotb-0.1.4 spec/eotb_spec.rb
eotb-0.1.3 spec/eotb_spec.rb
eotb-0.1.2 spec/eotb_spec.rb