spec/plugin/content_for_spec.rb in roda-1.2.0 vs spec/plugin/content_for_spec.rb in roda-1.3.0

- old
+ new

@@ -6,11 +6,10 @@ warn "tilt not installed, skipping content_for plugin test" else describe "content_for plugin" do before do app(:bare) do - plugin :render - render_opts[:views] = "./spec/views" + plugin :render, :views=>'./spec/views' plugin :content_for route do |r| r.root do view(:inline=>"<% content_for :foo do %>foo<% end %>bar", :layout=>{:inline=>'<%= yield %> <%= content_for(:foo) %>'})