Sha256: 23ecc355f05f89ce7bea56a53c22d1334d3dba4caab5433feb5000b7a92ac646

Contents?: true

Size: 709 Bytes

Versions: 28

Compression:

Stored size: 709 Bytes

Contents

require 'rubygems'
require 'rest_connection'
require 'spec'
require 'ruby-debug'

describe RsInternal, "exercises the rs_internal api" do
  before(:all) do
    @st = ServerTemplate.find(27418)
  end

# this will never be checked in, these tests are too hardwired
# (doesn't mean it's not useful)
  it "should get all the mcis for this hardcoded template and set this hardcoded server" do
    mcis = RsInternal.get_server_template_multi_cloud_images(@st.href)
    mcis.empty?.should_not == true
    mcis.first['href'].include?("https://").should == true

    server = "/servers/752944"
    success = RsInternal.set_server_multi_cloud_image(server, mcis.first['href'])

    debugger
    puts "blah"

  end

end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
rest_connection-0.1.7 spec/rs_internal_spec.rb
rest_connection-0.1.6 spec/rs_internal_spec.rb
rest_connection-0.1.5 spec/rs_internal_spec.rb
rest_connection-0.1.4 spec/rs_internal_spec.rb
rest_connection-0.1.3 spec/rs_internal_spec.rb
rest_connection-0.1.2 spec/rs_internal_spec.rb
rest_connection-0.1.1 spec/rs_internal_spec.rb
rest_connection-0.1.0 spec/rs_internal_spec.rb
rest_connection-0.0.23 spec/rs_internal_spec.rb
rest_connection-0.0.22 spec/rs_internal_spec.rb
rest_connection-0.0.21 spec/rs_internal_spec.rb
rest_connection-0.0.20 spec/rs_internal_spec.rb
rest_connection-0.0.19 spec/rs_internal_spec.rb
rest_connection-0.0.18 spec/rs_internal_spec.rb
rest_connection-0.0.17 spec/rs_internal_spec.rb
rest_connection-0.0.16 spec/rs_internal_spec.rb
rest_connection-0.0.15 spec/rs_internal_spec.rb
rest_connection-0.0.14 spec/rs_internal_spec.rb
rest_connection-0.0.13 spec/rs_internal_spec.rb
rest_connection-0.0.12 spec/rs_internal_spec.rb