Permalink
Browse files

half way to running specs

  • Loading branch information...
stiff committed Nov 29, 2011
1 parent cbda0eb commit b1439b0bb761af7e146955a87adbe3e9e4316176
View
@@ -7,6 +7,8 @@
# in spec/support/ and its subdirectories.
Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}
+require 'model_stubbing'
+
RSpec.configure do |config|
# == Mock Framework
#
@@ -88,4 +88,4 @@ def self.guess_mock_framework!
end
Test::Unit::TestCase.extend ModelStubbing::Methods
-Spec::Example::ExampleGroup.extend ModelStubbing::Methods if defined? Spec::Example::ExampleGroup
+RSpec::Core::ExampleGroup.extend ModelStubbing::Methods if defined? RSpec::Core::ExampleGroup
@@ -1,4 +1,4 @@
-module Spec::DSL::Main
+module RSpec::Core::DSL
def describe_access_for(controller, &block)
RspecOnRailsOnCrack::ControllerAccessProxy.new(self, controller).instance_eval(&block)
end

0 comments on commit b1439b0

Please sign in to comment.