lib/generators/templates/keynote_rspec.rb in keynote-0.1.3 vs lib/generators/templates/keynote_rspec.rb in keynote-0.2.0pre1

- old
+ new

@@ -1,5 +1,13 @@ require 'spec_helper' +# Specs in this file have access to the present (or k) method, which they can +# use to instantiate <%= class_name %>Presenter as normal. For example: +# +# describe <%= class_name %>Presenter do +# it "has access to a view" do +# k(<%= presenter_name_and_target_list %>).should respond_to(:view) +# end +# end + describe <%= class_name %>Presenter do - subject { <%= class_name %>Presenter.new(<%= view_and_target_list %>) } end