spec/bearcat/client/accounts_spec.rb in bearcat-1.2.11 vs spec/bearcat/client/accounts_spec.rb in bearcat-1.2.12

- old
+ new

@@ -53,6 +53,13 @@ courses.count.should == 2 courses.first['id'].should == 1 courses.first['name'].should == 'Sub1 Course1' end + it 'gets account grading_standards' do + stub_get(@client, "/api/v1/accounts/1/grading_standards").to_return(json_response("account_grading_standards.json")) + grading_standards = @client.account_grading_standards(1) + expect(grading_standards['id']).to eq 1 + expect(grading_standards['title']).to eq 'account grading scheme' + end + end