mirror of
				https://github.com/thoughtbot/shoulda-matchers.git
				synced 2022-11-09 12:01:38 -05:00 
			
		
		
		
	Switched to allowing a more canonical require statement
require "shoulda/matchers"  # canonical
-vs-
    require "shoulda-matchers"  # still allowed
See comments of http://blog.segment7.net/2010/11/15/how-to-name-gems
			
			
This commit is contained in:
		
							parent
							
								
									9c9580c55b
								
							
						
					
					
						commit
						b39fba0bed
					
				
					 2 changed files with 8 additions and 8 deletions
				
			
		| 
						 | 
				
			
			@ -1,8 +1 @@
 | 
			
		|||
require 'shoulda/matchers/version'
 | 
			
		||||
 | 
			
		||||
if defined?(RSpec)
 | 
			
		||||
  require 'shoulda/matchers/integrations/rspec'
 | 
			
		||||
else
 | 
			
		||||
  require 'shoulda/matchers/integrations/test_unit'
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
require 'shoulda/matchers'
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										7
									
								
								lib/shoulda/matchers.rb
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								lib/shoulda/matchers.rb
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,7 @@
 | 
			
		|||
require 'shoulda/matchers/version'
 | 
			
		||||
 | 
			
		||||
if defined?(RSpec)
 | 
			
		||||
  require 'shoulda/matchers/integrations/rspec'
 | 
			
		||||
else
 | 
			
		||||
  require 'shoulda/matchers/integrations/test_unit'
 | 
			
		||||
end
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue