public
Description: Open Source Social Network written in Ruby on Rail by Less Everything
Homepage: http://lovdbyless.com
Clone URL: git://github.com/stevenbristol/lovd-by-less.git
Use SITE_NAME in /profiles/show.rss test so it still passes with global variable 
changes
Dustin Schneider (author)
Tue May 20 16:02:08 -0700 2008
commit  eb51581a5e7471d9ba5050bb90338fbbd3694d22
tree    dd80008798bb517f3d5b9105d42963c2b6a49ed1
parent  e279286807cb7b8691ca25bac323e5572e315e17
...
38
39
40
41
 
42
43
44
...
38
39
40
 
41
42
43
44
0
@@ -38,7 +38,7 @@ class ProfilesControllerTest < ActionController::TestCase
0
   context 'on GET to :show.rss while not logged in' do
0
     setup do
0
       get :show, {:id => profiles(:user).id, :format=>'rss'}
0
-      assert_match "<rss version=\"2.0\">\n  <channel>\n    <title>Lovd By Less Activity Feed</title>", @response.body
0
+      assert_match "<rss version=\"2.0\">\n  <channel>\n    <title>#{SITE_NAME} Activity Feed</title>", @response.body
0
     end
0
 
0
     should_assign_to :user

Comments