Sha256: 435e94a6e61c0e1f8759ace991a2372d7a5ba2d991e0e37dc1c78b2cfa0cdd39

Contents?: true

Size: 378 Bytes

Versions: 4

Compression:

Stored size: 378 Bytes

Contents

require 'spec_helper'

describe MWS::Base do

  it "should connect and get a timestamp" do
    MWS::Base.server_time.class.should == Time
  end

  context 'initialize' do
    it "should create a connection object" do
      mws = MWS::Base.new(auth_params)
      mws.should be
      mws.connection.should be
      mws.connection.class.should == MWS::Connection
    end
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruby-mws-0.1 spec/ruby-mws/base_spec.rb
ruby-mws-0.0.4 spec/ruby-mws/base_spec.rb
ruby-mws-0.0.3 spec/ruby-mws/base_spec.rb
ruby-mws-0.0.2 spec/ruby-mws/base_spec.rb