search for: new_view_spec

Displaying 1 result from an estimated 1 matches for "new_view_spec".

2006 Nov 10
3
Specifying views
I''m trying to spec my views with 0.7.1 on edge rails per the instructions on the rspec site [1] and David''s blog [2], but I''m not having much luck. Here''s my spec in specs/views/accounts/ new_view_spec.rb: require File.dirname(__FILE__) + ''/../../spec_helper'' context "The new account form" do specify "should have an account name" do render ''accounts/new'' response.should_have_tag ''input'', :attributes => {:...