Changeset 863

Show
Ignore:
Timestamp:
11/06/07 05:48:07 (1 year ago)
Author:
has.s..@gmail.com
Message:

Completed the structure and basic resource generator

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/rspec_generators/merb_controller_test/templates/show_spec.rb

    r862 r863  
    22 
    33describe "/<%= file_name %>/1" do 
    4   before(:each) do 
    5     @controller,@action = get("/<%= file_name %>/1") 
    6     @body = @controller.body 
    7   end 
    8  
    9   it "should mention <%= class_name %>" do 
    10     @body.should match(/<%= class_name %>/) 
    11   end 
     4  it "should spec the show view" 
    125end