Sha256: 103c6b644abc0bb6620a68656e3bcecfb7290c1a0834e0cf2357d2ca80c54b7e

Contents?: true

Size: 820 Bytes

Versions: 45

Compression:

Stored size: 820 Bytes

Contents

# Copyright (C) 2011 RightScale, Inc, All Rights Reserved Worldwide.
#
# THIS PROGRAM IS CONFIDENTIAL AND PROPRIETARY TO RIGHTSCALE
# AND CONSTITUTES A VALUABLE TRADE SECRET. Any unauthorized use,
# reproduction, modification, or disclosure of this program is
# strictly prohibited. Any use of this program by an authorized
# licensee is strictly subject to the terms and conditions,
# including confidentiality obligations, set forth in the applicable
# License Agreement between RightScale.com, Inc. and
# the licensee

require File.join(File.dirname(__FILE__), 'spec_helper')

describe RightConf::Profile do

  it 'should save profile to disk when changing values' do
    flexmock(RightConf::Profile.instance).should_receive(:persist).once
    RightConf::Profile.set_configurator_signature(:test, '42')
  end

end



Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
rconf-0.6.3 spec/profile_spec.rb
rconf-0.6.2 spec/profile_spec.rb
rconf-0.6.1 spec/profile_spec.rb
rconf-0.5.9 spec/profile_spec.rb
rconf-0.5.8 spec/profile_spec.rb