spec/spec_helper.rb in rhoconnect-rb-0.2.6 vs spec/spec_helper.rb in rhoconnect-rb-0.2.7
- old
+ new
@@ -21,9 +21,12 @@
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
module ActiveRecord
\ No newline at end of file