Sha256: 7caec63ab9ffcad7bb4505735d1169f23b1b3d20a199eb08689a809ff1e03ef7

Contents?: true

Size: 824 Bytes

Versions: 3

Compression:

Stored size: 824 Bytes

Contents

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

describe "Postini master module" do
  
  it "must allow for setting the API Access Key" do
    Postini.api_key = "1234567890"
    Postini.api_key.should eql("1234567890")
  end
  
  it "must allow for setting the system number" do
    Postini.system_number = 200
    Postini.system_number.should be(200)
  end
  
  it "must allow for setting a username" do
    Postini.username = 'administrator@jumboinc.com'
    Postini.username.should eql('administrator@jumboinc.com')
  end
  
  it "must allow for setting a password" do
    Postini.password = 'secret'
    Postini.password.should eql('secret')
  end
  
  it "must allow for setting a XAuth string" do
    Postini.xauth = 'format_unknown_to_author'
    Postini.xauth.should eql('format_unknown_to_author')
  end
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
postini-0.0.1 spec/postini_spec.rb
postini-0.0.3 spec/postini_spec.rb
postini-0.0.2 spec/postini_spec.rb