In this article, we will review how to use Ruby RSpec for testing REST APIs like GroupDocs. RSpec is a BDD (behavior driven development) framework. You can find more info about RSpec on its official site. There are a lot of different GroupDocs APIs that you can use. In this article we will test one of the User APIs: “Get user profile”.
What You Need You need Ruby, Gem, Bundler, and RSpec (gem install rspec) installed on you computer....primary email' do response\[:user\]\[:primary\_email\].should...should == "" # your primary email here end it 'returns user private...