Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Commenting out auto-generated user view test.

  • Loading branch information...
commit fed3d2de3caf4e6f656cf84837de2e7ffd8c70ea 1 parent 262e252
Rian Rainey authored November 26, 2012

Showing 1 changed file with 21 additions and 21 deletions. Show diff stats Hide diff stats

  1. 42  spec/views/users/index.html.erb_spec.rb
42  spec/views/users/index.html.erb_spec.rb
... ...
@@ -1,26 +1,26 @@
1 1
 require 'spec_helper'
2 2
 
3 3
 describe "admin/users" do
4  
-  before(:each) do
5  
-    assign(:users, [
6  
-      stub_model(User,
7  
-        :firstName => "First Name",
8  
-        :lastName => "Last Name",
9  
-        :email => "Email"
10  
-      ),
11  
-      stub_model(User,
12  
-        :firstName => "First Name",
13  
-        :lastName => "Last Name",
14  
-        :email => "Email"
15  
-      )
16  
-    ])
17  
-  end
  4
+  # before(:each) do
  5
+  #   assign(:users, [
  6
+  #     stub_model(User,
  7
+  #       :firstName => "First Name",
  8
+  #       :lastName => "Last Name",
  9
+  #       :email => "Email"
  10
+  #     ),
  11
+  #     stub_model(User,
  12
+  #       :firstName => "First Name",
  13
+  #       :lastName => "Last Name",
  14
+  #       :email => "Email"
  15
+  #     )
  16
+  #   ])
  17
+  # end
18 18
 
19  
-  it "renders a list of users" do
20  
-    render
21  
-    # Run the generator again with the --webrat flag if you want to use webrat matchers
22  
-    assert_select "tr>td", :text => "First Name".to_s, :count => 2
23  
-    assert_select "tr>td", :text => "Last Name".to_s, :count => 2
24  
-    assert_select "tr>td", :text => "Email".to_s, :count => 2
25  
-  end
  19
+  # it "renders a list of users" do
  20
+  #   render
  21
+  #   # Run the generator again with the --webrat flag if you want to use webrat matchers
  22
+  #   assert_select "tr>td", :text => "First Name".to_s, :count => 2
  23
+  #   assert_select "tr>td", :text => "Last Name".to_s, :count => 2
  24
+  #   assert_select "tr>td", :text => "Email".to_s, :count => 2
  25
+  # end
26 26
 end

0 notes on commit fed3d2d

Please sign in to comment.
Something went wrong with that request. Please try again.