mirror of
				https://github.com/fog/fog.git
				synced 2022-11-09 13:51:43 -05:00 
			
		
		
		
	Support both RSpec 1.x and 2.x
This commit is contained in:
		
							parent
							
								
									55c720ba9f
								
							
						
					
					
						commit
						327c0007b9
					
				
					 1 changed files with 7 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1,5 +1,10 @@
 | 
			
		|||
require 'spec'
 | 
			
		||||
require 'spec/mocks'
 | 
			
		||||
begin
 | 
			
		||||
  require 'rspec'
 | 
			
		||||
  require 'rspec/mocks'
 | 
			
		||||
rescue LoadError
 | 
			
		||||
  require 'spec'
 | 
			
		||||
  require 'spec/mocks'
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
Shindo.tests("Vcloud::Compute | disk_requests", ['vcloud']) do
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue