public
Description: The open source social networking platform in Ruby on Rails from the author of RailsSpace
Homepage: http://insoshi.com
Clone URL: git://github.com/insoshi/insoshi.git
Search Repo:
Fixed some stupid test bugs
Michael Hartl (author)
Fri Apr 04 18:38:27 -0700 2008
commit  29e1dd8b5fca05218940392d951216327046cf8e
tree    f2b642bcf1fe2f1b9c4cfad5aa29836d1556ef43
parent  305c905d8fd2609a1f9c1c8ac13faf4a4f1bfaee
...
5
6
7
8
 
9
10
11
...
5
6
7
 
8
9
10
11
0
@@ -5,7 +5,7 @@
0
   <% other_person = message.sender %>
0
   <h2>Sent by <%= name_link other_person %></h2>
0
 <% end %>
0
-<div><%= image_link @message.sender, :image => :thumbnail %></div>
0
+<div><%= image_link message.sender, :image => :thumbnail %></div>
0
 <span class="time"><%= time_ago_in_words message.created_at %> ago</span>
0
 <div class="status-mail">
0
   <%= email_link other_person, :replying_to => message,
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0
@@ -1,33 +0,0 @@
0
-require File.dirname(__FILE__) + '/../spec_helper'
0
-
0
-describe HomeController do
0
- integrate_views
0
-
0
- before(:each) do
0
- login_as :quentin
0
- get :index
0
- end
0
-
0
- it "should have a feed" do
0
- response.should have_tag("th", /feed/i)
0
- end
0
-
0
- it "should have a logo div" do
0
- response.should have_tag("div[id=?]", "logo")
0
- end
0
-
0
- it "should have a main column" do
0
- response.should have_tag("div[class=?]",
0
- "column first last span-#{FULL}")
0
- end
0
-
0
- it "should have a primary div" do
0
- response.should have_tag("div[class=?]",
0
- "column first span-#{LEFT}")
0
- end
0
-
0
- it "should have a secondary div" do
0
- response.should have_tag("div[class=?]",
0
- "column last span-#{RIGHT}")
0
- end
0
-end
...
151
152
153
154
155
156
157
158
159
160
161
162
163
164
...
151
152
153
 
 
 
 
 
 
 
 
154
155
156
0
@@ -151,14 +151,6 @@ describe PeopleController do
0
       get :show, :id => @person
0
       response.should_not have_tag("a[href=?]", edit_person_path(@person))
0
     end
0
-
0
- it "should have a working comment wall" do
0
- comment = comments(:wall)
0
- get :show, :id => @person
0
- response.should have_tag("div[class=?]", "wall clear") do
0
- with_tag("td", /#{comment.body}/)
0
- end
0
- end
0
   end
0
   
0
   private

Comments

    No one has commented yet.