Merge commit 'dchelimsky/rspec-fix'
This commit is contained in:
commit
78a23abb6e
|
@ -6,8 +6,5 @@
|
||||||
require "webrat/core/matchers"
|
require "webrat/core/matchers"
|
||||||
|
|
||||||
Spec::Runner.configure do |config|
|
Spec::Runner.configure do |config|
|
||||||
# rspec should support :type => [:controller, :helper, :view] - but until it does ...
|
config.include(Webrat::Matchers, :type => [:controller, :helper, :view])
|
||||||
config.include(Webrat::Matchers, :type => :controller)
|
|
||||||
config.include(Webrat::Matchers, :type => :helper)
|
|
||||||
config.include(Webrat::Matchers, :type => :view)
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue