Sha256: 64234c2d26af43f3184f0ca5f92b6c0bb1aba3e4dd43246f799d8f1a18f51e01

Contents?: true

Size: 425 Bytes

Versions: 2

Compression:

Stored size: 425 Bytes

Contents

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

describe "SmsNotify MessageStatus" do
  it "should not have attributes that do not describe a message status" do
    SmsNotify::MessageStatus.new({:foo=>'bar'}).respond_to?('foo').should be false
  end

  it "should have attributes that describe a message status" do
    SmsNotify::MessageStatus.new({:status_code=>'6'}).status_code.should == '6'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cdyne-sms-notify-0.7.1 spec/message_status_spec.rb
cdyne-sms-notify-0.7.0 spec/message_status_spec.rb