initial commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
require 'spec_helper'
|
||||
|
||||
describe "users/new" do
|
||||
before(:each) do
|
||||
assign(:user, stub_model(User).as_new_record)
|
||||
end
|
||||
|
||||
it "renders new user form" do
|
||||
render
|
||||
|
||||
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
||||
assert_select "form", :action => users_path, :method => "post" do
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user