spec/unit/models/project_role_spec.rb in gooddata-0.6.3 vs spec/unit/models/project_role_spec.rb in gooddata-0.6.4

- old
+ new

@@ -14,20 +14,20 @@ after(:all) do GoodData.disconnect end describe '#author' do - it 'Returns author as GoodData::AccountSettings' do + it 'Returns author as GoodData::Profile' do res = @role.author - expect(res).to be_an_instance_of(GoodData::AccountSettings) + expect(res).to be_an_instance_of(GoodData::Profile) end end describe '#contributor' do - it 'Returns contributor as GoodData::AccountSettings' do + it 'Returns contributor as GoodData::Profile' do res = @role.contributor - expect(res).to be_an_instance_of(GoodData::AccountSettings) + expect(res).to be_an_instance_of(GoodData::Profile) end end describe '#created' do it 'Returns created date as DateTime' do @@ -77,14 +77,14 @@ expect(res).to be_an_instance_of(String) end end describe '#users' do - it 'Returns users as Array<GoodData::AccountSettings>' do + 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::AccountSettings) + expect(user).to be_an_instance_of(GoodData::Profile) end end end end