Sha256: bfe5de57e82b36694a57e5434801238cb17f8c84b9e08cb6da3e3babf0de5d9d

Contents?: true

Size: 428 Bytes

Versions: 2

Compression:

Stored size: 428 Bytes

Contents

require_relative './spec_helper'

describe "Video List" do
  context "when user is unauthenticated" do
    it_behaves_like "Unauthenticated", -> (api) do
      api.video_list(user1["login"])
    end


    context "when Public API Feeds is enabled" do
      before(:all) do
        api = unauthenticated_api
        @res = api.video_list(user_with_public_api["login"])
      end

      it_behaves_like "200 OK"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vzaar-1.3.1 examples/video_list_spec.rb
vzaar-1.3.0 examples/video_list_spec.rb