Sha256: de484f2a5954334d521ea23ce9d9a067166477802a575cd8c222bd85f706b837

Contents?: true

Size: 597 Bytes

Versions: 2

Compression:

Stored size: 597 Bytes

Contents

require 'spec_helper'
require 'smstraderb/constants'

describe SMSTradeRB, "Constants" do
  it "provides a VERSION constant" do
    SMSTradeRB::VERSION.should_not be_nil
  end

  it "provides a HTTP_GATEWAY constant" do
    SMSTradeRB::HTTP_GATEWAY.should_not be_nil
  end

  it "provides a HTTPS_GATEWAY constant" do
    SMSTradeRB::HTTPS_GATEWAY.should_not be_nil
  end

  it "provides the RESPONSE_CODES constat containing a hash" do
    SMSTradeRB::RESPONSE_CODES.should be_a(Hash)
  end

  it "provides the MESSAGE_TYPES constant" do
    SMSTradeRB::MESSAGE_TYPES.should_not be_nil
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
smstraderb-0.1.0 spec/smstraderb/constants_spec.rb
smstraderb-0.0.1 spec/smstraderb/constants_spec.rb