Sha256: 590eb138a966286f3e5501cf881d79144ed7d46f02ce14fe0d5dbb7fc9a09c90
Contents?: true
Size: 426 Bytes
Versions: 1
Compression:
Stored size: 426 Bytes
Contents
require "spec_helper" RSpec.describe Ribose::Member do describe ".all" do it "retrieves all members for a space" do space_id = 123_456_789 stub_ribose_space_member_list(space_id) members = Ribose::Member.all(space_id) expect(members.count).to eq(1) expect(members.first.user.name).to eq("John Doe") expect(members.first.role_name_in_space).to eq("Administrator") end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ribose-0.2.0 | spec/ribose/member_spec.rb |