lib/draper/test/rspec_integration.rb in draper-0.15.0 vs lib/draper/test/rspec_integration.rb in draper-0.16.0

- old
+ new

@@ -15,19 +15,14 @@ # Specs tagged type: :decorator set the Draper view context config.before :type => :decorator do Draper::ViewContext.infect!(self) end - - config.before :type => :view do - controller.set_current_view_context - end end if defined?(Capybara) require 'capybara/rspec/matchers' RSpec.configure do |config| config.include Capybara::RSpecMatchers, :type => :decorator end end -