Skip to content

Commit

Permalink
Use SITE_NAME in /profiles/show.rss test so it still passes with glob…
Browse files Browse the repository at this point in the history
…al variable changes
  • Loading branch information
Dustin Schneider committed May 20, 2008
1 parent e279286 commit eb51581
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/functional/profiles_controller_test.rb
Expand Up @@ -38,7 +38,7 @@ class ProfilesControllerTest < ActionController::TestCase
context 'on GET to :show.rss while not logged in' do
setup do
get :show, {:id => profiles(:user).id, :format=>'rss'}
assert_match "<rss version=\"2.0\">\n <channel>\n <title>Lovd By Less Activity Feed</title>", @response.body
assert_match "<rss version=\"2.0\">\n <channel>\n <title>#{SITE_NAME} Activity Feed</title>", @response.body
end

should_assign_to :user
Expand Down

0 comments on commit eb51581

Please sign in to comment.