mirror of
				https://github.com/fog/fog.git
				synced 2022-11-09 13:51:43 -05:00 
			
		
		
		
	[rackspace|auto_scale] renamed the model tests to follow fog conventions.
This commit is contained in:
		
							parent
							
								
									71d512a79b
								
							
						
					
					
						commit
						a98ba7d1ea
					
				
					 6 changed files with 10 additions and 10 deletions
				
			
		| 
						 | 
				
			
			@ -1,11 +1,11 @@
 | 
			
		|||
Shindo.tests('Fog::Rackspace::AutoScale | group', ['rackspace', 'rackspace_autoscale']) do
 | 
			
		||||
	
 | 
			
		||||
 | 
			
		||||
	service = Fog::Rackspace::AutoScale.new :rackspace_region => :ord
 | 
			
		||||
 | 
			
		||||
	options = {
 | 
			
		||||
		:name => "fog_#{Time.now.to_i.to_s}", 
 | 
			
		||||
		:policies => POLICIES_OPTIONS, 
 | 
			
		||||
		:launch_config => LAUNCH_CONFIG_OPTIONS, 
 | 
			
		||||
		:name => "fog_#{Time.now.to_i.to_s}",
 | 
			
		||||
		:policies => POLICIES_OPTIONS,
 | 
			
		||||
		:launch_config => LAUNCH_CONFIG_OPTIONS,
 | 
			
		||||
		:group_config => GROUP_CONFIG_OPTIONS
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
Shindo.tests('Fog::Rackspace::AutoScale | groups', ['rackspace', 'rackspace_autoscale']) do 
 | 
			
		||||
Shindo.tests('Fog::Rackspace::AutoScale | groups', ['rackspace', 'rackspace_autoscale']) do
 | 
			
		||||
  pending if Fog.mocking?
 | 
			
		||||
  service = Fog::Rackspace::AutoScale.new :rackspace_region => :ord
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
Shindo.tests('Fog::Rackspace::AutoScale | policies', ['rackspace', 'rackspace_autoscale']) do 
 | 
			
		||||
Shindo.tests('Fog::Rackspace::AutoScale | policies', ['rackspace', 'rackspace_autoscale']) do
 | 
			
		||||
  pending if Fog.mocking?
 | 
			
		||||
  service = Fog::Rackspace::AutoScale.new :rackspace_region => :ord
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -1,5 +1,5 @@
 | 
			
		|||
Shindo.tests('Fog::Rackspace::AutoScale | policy', ['rackspace', 'rackspace_autoscale']) do
 | 
			
		||||
  
 | 
			
		||||
 | 
			
		||||
  service = Fog::Rackspace::AutoScale.new :rackspace_region => :ord
 | 
			
		||||
 | 
			
		||||
  group = service.groups.create({
 | 
			
		||||
| 
						 | 
				
			
			@ -1,5 +1,5 @@
 | 
			
		|||
Shindo.tests('Fog::Rackspace::AutoScale | webhook', ['rackspace', 'rackspace_autoscale']) do
 | 
			
		||||
  
 | 
			
		||||
 | 
			
		||||
  service = Fog::Rackspace::AutoScale.new :rackspace_region => :ord
 | 
			
		||||
 | 
			
		||||
  group = service.groups.create({
 | 
			
		||||
| 
						 | 
				
			
			@ -26,7 +26,7 @@ Shindo.tests('Fog::Rackspace::AutoScale | webhook', ['rackspace', 'rackspace_aut
 | 
			
		|||
  }
 | 
			
		||||
 | 
			
		||||
  begin
 | 
			
		||||
    model_tests(policy.webhooks, options, false) 
 | 
			
		||||
    model_tests(policy.webhooks, options, false)
 | 
			
		||||
  ensure
 | 
			
		||||
    policy.destroy
 | 
			
		||||
    group.destroy
 | 
			
		||||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
Shindo.tests('Fog::Rackspace::AutoScale | webhooks', ['rackspace', 'rackspace_autoscale']) do 
 | 
			
		||||
Shindo.tests('Fog::Rackspace::AutoScale | webhooks', ['rackspace', 'rackspace_autoscale']) do
 | 
			
		||||
  pending if Fog.mocking?
 | 
			
		||||
  service = Fog::Rackspace::AutoScale.new :rackspace_region => :ord
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue