Sha256: bce4add66c6a83bee1c36c1711793e3a78da0bd4e34d0af1b12abe2a82b0a8f2
Contents?: true
Size: 1.81 KB
Versions: 18
Compression:
Stored size: 1.81 KB
Contents
Feature: Members API Background: Given I have "Github::Orgs::Members" instance Scenario: List Given I want to list resources with the following params: | org | | rails | When I make request within a cassette named "orgs/members/list" Then the response status should be 200 And the response type should be JSON And the response should not be empty Scenario: List Public Given I want to list resources with the following params: | org | | rails | And I pass the following request options: | public | | true | When I make request within a cassette named "orgs/members/list_public" Then the response status should be 200 And the response type should be JSON And the response should not be empty # Scenario: Check if member of organization (302) # # Given I want to member? resource with the following params: # | org | member | # | rails | drogus | # When I make request within a cassette named "orgs/members/member_false" # Then the response should be false Scenario: Check if public member of organization (404) Given I want to member? resource with the following params: | org | member | | rails | peter-murach | And I pass the following request options: | public | | true | When I make request within a cassette named "orgs/members/member_public_false" Then the response should be false Scenario: Check if public member of organization (204) Given I want to member? resource with the following params: | org | member | | rails | drogus | And I pass the following request options: | public | | true | When I make request within a cassette named "orgs/members/member_public_true" Then the response should be true
Version data entries
18 entries across 18 versions & 1 rubygems