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

describe AWeber::Resources::Message do
  include BaseObjects
  subject { aweber.account.lists[1].campaigns[50000047].messages[11839] }
  
  it { should respond_to :event_time }
  it { should respond_to :http_etag }
  it { should respond_to :id }
  it { should respond_to :resource_type_link }
  it { should respond_to :self_link }
  it { should respond_to :last_opened }
  it { should respond_to :opens_collection_link }
  it { should respond_to :subscriber_link }
  it { should respond_to :total_opens }
  it { should respond_to :tracked_events_collection_link }
end
