Sha256: be7e3b0c6c15ab77878a561e6970b4fbf4a32eed0c96f3e1875fdbf0fb5558db
Contents?: true
Size: 681 Bytes
Versions: 19
Compression:
Stored size: 681 Bytes
Contents
require File.join(File.dirname(__FILE__), 'spec_helper') require 'ruby-debug' describe RightScriptInternal, "exercises the right_script internal api" do it "should do some stuff" do @some_script = RightScriptInternal.new(:href => "https://my.rightscale.com/api/acct/2901/right_scripts/256669") # Test commit @some_script.commit("hello commits world") # Test clone @new_script = @some_script.clone # Test update @same_script = RightScriptInternal.new(:href => @new_script.href) @same_script.name = "newname123" @same_script.save end after(:all) do # can't cleanup, don't have destroy calls #@new_script.destroy end end
Version data entries
19 entries across 19 versions & 1 rubygems