Skip to content

Commit

Permalink
fix some integration tests to use translated strings so they don't br…
Browse files Browse the repository at this point in the history
…eak when we change the translated strings
  • Loading branch information
kclair committed Mar 21, 2011
1 parent 98e5ccb commit c3f78d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/integration/me/dashboard_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def test_set_status
def test_joining_network_updates_requests
login 'aaron'
visit '/cnt'
click_link 'Request to Join Network'
click_link I18n.t(:request_join_group_link, :group_type => 'Network')
click_button 'Send Request'
assert_contain 'Request to join has been sent'

Expand Down
2 changes: 1 addition & 1 deletion test/integration/me/requests_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class Me::RequestsTest < ActionController::IntegrationTest
def test_joining_network_updates_requests
login 'aaron'
visit '/cnt'
click_link 'Request to Join Network'
click_link I18n.t(:request_join_group_link, :group_type => 'Network')
click_button 'Send Request'
assert_contain 'Request to join has been sent'

Expand Down

0 comments on commit c3f78d6

Please sign in to comment.