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

Version Path
rhosync-2.1.18.beta2 spec/api/get_license_info_spec.rb
rhosync-2.1.18.beta1 spec/api/get_license_info_spec.rb
rhosync-2.1.17 spec/api/get_license_info_spec.rb
rhosync-2.1.17.beta7 spec/api/get_license_info_spec.rb
rhosync-2.1.17.beta6 spec/api/get_license_info_spec.rb
rhosync-2.1.17.beta5 spec/api/get_license_info_spec.rb
rhosync-2.1.17.beta4 spec/api/get_license_info_spec.rb
rhosync-2.1.17.beta3 spec/api/get_license_info_spec.rb
rhosync-2.1.17.beta2 spec/api/get_license_info_spec.rb
rhosync-2.1.17.beta1 spec/api/get_license_info_spec.rb
rhosync-2.1.16 spec/api/get_license_info_spec.rb
rhosync-2.1.15 spec/api/get_license_info_spec.rb
rhosync-2.1.14 spec/api/get_license_info_spec.rb
rhosync-2.1.13 spec/api/get_license_info_spec.rb
rhosync-2.1.12 spec/api/get_license_info_spec.rb
rhosync-2.1.11 spec/api/get_license_info_spec.rb
rhosync-2.1.10 spec/api/get_license_info_spec.rb
rhosync-2.1.7 spec/api/get_license_info_spec.rb
rhosync-2.1.6 spec/api/get_license_info_spec.rb
rhosync-2.1.3 spec/api/get_license_info_spec.rb