spec/data_api_spec.rb in clever-ruby-1.2.4 vs spec/data_api_spec.rb in clever-ruby-1.2.5
- old
+ new
@@ -4,16 +4,16 @@
describe Clever::DataApi do
before(:each) do
WebMock.allow_net_connect!
@api_instance = Clever::DataApi.new
Clever.configure do |config|
- config.access_token = 'DEMO_TOKEN'
+ config.access_token = 'TEST_TOKEN'
end
end
describe ".get_contacts_for_student" do
it "returns array of StudentContacts" do
- student_id = "530e5961049e75a9262cffe4"
+ student_id = "58da8c63d7dc0ca0680003ed"
contacts = @api_instance.get_contacts_for_student(student_id).data
expect(contacts.length).to eq(1)
expect(contacts.first.class).to eq(Clever::StudentContact)
expect(contacts.first.id).not_to be nil
end