Sha256: 175986cee55431798111a0b046892fc89216430aefae9309633e4fbbb05f8cb5

Contents?: true

Size: 421 Bytes

Versions: 8

Compression:

Stored size: 421 Bytes

Contents

require 'test_helper'

class Salesforce::NewsFeedTest < ActiveSupport::TestCase
  def test_should_return_news_feeds
    # see 'test_helper.rb' for USERID, PASSWORD, and SECURITY_TOKEN
    # Salesforce::SfBase.login(USERID, PASSWORD, SECURITY_TOKEN)
    user = Salesforce::User.first

    news_feeds = Array.new
    news_feeds = Salesforce::NewsFeed.find(:all, :limit => 100).count
    assert_not_nil news_feeds
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
asf-soap-adapter-1.3.1 test/asf-soap-adapter-rails-app/test/unit/salesforce/news_feed_test.rb
asf-soap-adapter-1.3.0 test/asf-soap-adapter-rails-app/test/unit/salesforce/news_feed_test.rb
asf-soap-adapter-1.1.0 test/asf-soap-adapter-rails-app/test/unit/salesforce/news_feed_test.rb
asf-soap-adapter-1.0.4 test/asf-soap-adapter-rails-app/test/unit/salesforce/news_feed_test.rb
ryandotsmith-asf-soap-adapter-1.0.3 test/asf-soap-adapter-rails-app/test/unit/salesforce/news_feed_test.rb
asf-soap-adapter-1.0.2 test/asf-soap-adapter-rails-app/test/unit/salesforce/news_feed_test.rb
asf-soap-adapter-1.0.1 test/asf-soap-adapter-rails-app/test/unit/salesforce/news_feed_test.rb
asf-soap-adapter-1.0.0 test/asf-soap-adapter-rails-app/test/unit/salesforce/news_feed_test.rb