Sha256: 69ce564d593fc270e328c8d74cff44ef8a1932985ce41abf4eb543e6d718bc2e

Contents?: true

Size: 341 Bytes

Versions: 5

Compression:

Stored size: 341 Bytes

Contents

require File.join(File.dirname(__FILE__), '..', '..', 'spec_helper')

matake_notifications = Smartfm::User.find('matake').notifications

Smartfm::Notification::ATTRIBUTES.each do |attr|
  describe Smartfm::Notification, "##{attr}" do
    it "should be accessible" do
      matake_notifications.first.should respond_to(attr)
    end
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
nov-smartfm-1.0.0 spec/smartfm/model/notification_spec.rb
nov-smartfm-1.0.2 spec/smartfm/models/notification_spec.rb
smartfm-1.0.2 spec/smartfm/models/notification_spec.rb
smartfm-1.0.0 spec/smartfm/models/notification_spec.rb
smartfm-1.0.1 spec/smartfm/models/notification_spec.rb