spec/unit/models/project_role_spec.rb in gooddata-0.6.26 vs spec/unit/models/project_role_spec.rb in gooddata-0.6.27
- old
+ new
@@ -81,15 +81,14 @@
expect(res).to be_an_instance_of(String)
end
end
describe '#users' do
- it 'Returns users as Array<GoodData::Profile>'
- # it 'Returns users as Array<GoodData::Profile>' do
- # res = @role.users
- # expect(res).to be_an_instance_of(Array)
- # res.each do |user|
- # expect(user).to be_an_instance_of(GoodData::Profile)
- # end
- # end
+ it 'Returns users as Array<GoodData::Profile>' do
+ res = @role.users
+ expect(res).to be_an_instance_of(Array)
+ res.each do |user|
+ expect(user).to be_an_instance_of(GoodData::Profile)
+ end
+ end
end
end