Sha256: 68e3a5bb8a4b334e4fb1371de1de677f9e17c97616171cbf3655581e221de719

Contents?: true

Size: 350 Bytes

Versions: 7

Compression:

Stored size: 350 Bytes

Contents

require "spec_helper"

RSpec.describe Ribose::Feed do
  describe ".all" do
    it "retrieves the list of user feeds" do
      stub_ribose_feed_api
      feeds = Ribose::Feed.all

      expect(feeds.first.id).not_to be_nil
      expect(feeds.first.type).to eq("Feed::Basic")
      expect(feeds.first.instance_name).to eq("John Doe")
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ribose-0.5.0 spec/ribose/feed_spec.rb
ribose-0.4.1 spec/ribose/feed_spec.rb
ribose-0.4.0 spec/ribose/feed_spec.rb
ribose-0.3.2 spec/ribose/feed_spec.rb
ribose-0.3.1 spec/ribose/feed_spec.rb
ribose-0.3.0 spec/ribose/feed_spec.rb
ribose-0.2.0 spec/ribose/feed_spec.rb