aboutsummaryrefslogtreecommitdiffstats
path: root/spec/helpers/link_to_helper_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/helpers/link_to_helper_spec.rb')
-rw-r--r--spec/helpers/link_to_helper_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/helpers/link_to_helper_spec.rb b/spec/helpers/link_to_helper_spec.rb
index 57765056c..9ec0afce1 100644
--- a/spec/helpers/link_to_helper_spec.rb
+++ b/spec/helpers/link_to_helper_spec.rb
@@ -40,8 +40,8 @@ describe LinkToHelper do
describe 'when displaying a user admin link for a request' do
- it 'should return the text "An anonymous user (external)" in the case where there is no username' do
- info_request = mock_model(InfoRequest, :user_name => nil,
+ it 'should return the text "An anonymous user (external)" in the case where there is no external username' do
+ info_request = mock_model(InfoRequest, :external_user_name => nil,
:is_external? => true)
user_admin_link_for_request(info_request).should == 'Anonymous user (external)'
end