Permalink
Browse files

Commenting out auto-generated user view test.

  • Loading branch information...
1 parent 262e252 commit fed3d2de3caf4e6f656cf84837de2e7ffd8c70ea Rian Rainey committed Nov 26, 2012
Showing with 21 additions and 21 deletions.
  1. +21 −21 spec/views/users/index.html.erb_spec.rb
@@ -1,26 +1,26 @@
require 'spec_helper'
describe "admin/users" do
- before(:each) do
- assign(:users, [
- stub_model(User,
- :firstName => "First Name",
- :lastName => "Last Name",
- :email => "Email"
- ),
- stub_model(User,
- :firstName => "First Name",
- :lastName => "Last Name",
- :email => "Email"
- )
- ])
- end
+ # before(:each) do
+ # assign(:users, [
+ # stub_model(User,
+ # :firstName => "First Name",
+ # :lastName => "Last Name",
+ # :email => "Email"
+ # ),
+ # stub_model(User,
+ # :firstName => "First Name",
+ # :lastName => "Last Name",
+ # :email => "Email"
+ # )
+ # ])
+ # end
- it "renders a list of users" do
- render
- # Run the generator again with the --webrat flag if you want to use webrat matchers
- assert_select "tr>td", :text => "First Name".to_s, :count => 2
- assert_select "tr>td", :text => "Last Name".to_s, :count => 2
- assert_select "tr>td", :text => "Email".to_s, :count => 2
- end
+ # it "renders a list of users" do
+ # render
+ # # Run the generator again with the --webrat flag if you want to use webrat matchers
+ # assert_select "tr>td", :text => "First Name".to_s, :count => 2
+ # assert_select "tr>td", :text => "Last Name".to_s, :count => 2
+ # assert_select "tr>td", :text => "Email".to_s, :count => 2
+ # end
end

0 comments on commit fed3d2d

Please sign in to comment.