Skip to content

Commit

Permalink
remove set_current_view_context from rspec generator
Browse files Browse the repository at this point in the history
looks like we call it in rspec tests by setting metadata[:type] = :decorator
  • Loading branch information
nashby committed Mar 31, 2012
1 parent 724ad3b commit 102554f
Showing 1 changed file with 0 additions and 1 deletion.
@@ -1,5 +1,4 @@
require 'spec_helper'

describe <%= resource_name.singularize.camelize %>Decorator do
before { ApplicationController.new.set_current_view_context }
end

0 comments on commit 102554f

Please sign in to comment.