Sha256: f372240acc439cc0a6ac87dc4b3d56b2f46e902833523af95303a52f718394b9
Contents?: true
Size: 483 Bytes
Versions: 49
Compression:
Stored size: 483 Bytes
Contents
require File.join(File.dirname(__FILE__),'api_helper') describe "RhosyncApiGetLicenseInfo" do it_should_behave_like "ApiHelper" it "should get license info" do true.should == true post "/api/get_license_info", {:api_token => @api_token} JSON.parse(last_response.body).should == { "available" => 9, "issued" => "Fri Apr 23 17:20:13 -0700 2010", "seats" => 10, "rhosync_version" => "Version 1", "licensee" => "Rhomobile" } end end
Version data entries
49 entries across 49 versions & 1 rubygems