Changeset 863
- Timestamp:
- 11/06/07 05:48:07 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/rspec_generators/merb_controller_test/templates/show_spec.rb
r862 r863 2 2 3 3 describe "/<%= 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" 12 5 end
