Sha256: 2d1f8ec5055a7f226beb67b9414621b86cf6aa0e91bf8ee3c2f22d569a0ed2e0

Contents?: true

Size: 605 Bytes

Versions: 2

Compression:

Stored size: 605 Bytes

Contents

require 'spec_helper'
require 'json'
describe TestdroidAPI::DeviceRun do
  before :all do
    
    VCR.use_cassette('dr_oauth2_auth_device_runs') do
      @user = client.authorize
    end
  end
  
  it 'get device runs' do 

    VCR.use_cassette('dr_run_33044722_device_runs') do
     
      @user.projects.get(33029366).runs.get(33044722).device_runs.should_not be nil
    
    end
  end
   it 'get device run using id' do 
    
     VCR.use_cassette('dr_device_run_33044722') do
        @user.projects.get(33029366).runs.get(33044722).device_runs.get(33044966).id.should be 33044966
     end
   end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
testdroid-api-client-0.1.2 spec/device_runs_spec.rb
testdroid-api-client-0.1.1 spec/device_runs_spec.rb