spec/spec_helper.rb in entityjs-0.2.2 vs spec/spec_helper.rb in entityjs-0.3.0

- old
+ new

@@ -1,3 +1,21 @@ -root = File.dirname(__FILE__)+'/../' - -Dir[root+"lib/entityjs/*.rb"].each {|file| require file } \ No newline at end of file +RSpec.configure do |config| + # Use color in STDOUT + config.color_enabled = true + + # Use color not only in STDOUT but also in pagers and files + config.tty = true + + # Use the specified formatter + #config.formatter = :documentation # :progress, :html, :textmate +end + + +root = File.dirname(__FILE__)+'/..' + + +Dir[root+'/spec/support/*'].each {|f| require f} + +require "#{root}/lib/entityjs" + +Dir[root+"/lib/entityjs/*.rb"].each {|file| require file } +