spec/spec_helper.rb in rhoconnect-rb-0.2.9 vs spec/spec_helper.rb in rhoconnect-rb-0.3.0

- old
+ new

@@ -12,20 +12,23 @@ # stubs for rails engine module Rails class Engine; end end +module Rails + class Railtie + def self.rake_tasks; end + end +end + # stubs for sinatra module Sinatra def self.register(mod); end module RhoconnectEndpoints def self.content_type(c_type); end def self.status(code); end end end - -# stub so railties will not try and load during tests -NO_RAILITIES = true require 'rhoconnect-rb' # define ActiveRecord and DM here for testing \ No newline at end of file