assert_response :redirect
assert_redirected_to :action => :list
# Now with some other user
assert_response :redirect
assert_redirected_to :action => :list
# Now with some other user
- get :view, { :display_name => deleted_trace_file.user.display_name, :id => 0 }, { :user => create(:user) }
+ get :view, { :display_name => create(:user).display_name, :id => 0 }, { :user => create(:user) }
deleted_trace_file = create(:trace, :deleted)
# First with no auth and a trace that has never existed
deleted_trace_file = create(:trace, :deleted)
# First with no auth and a trace that has never existed
- get :data, { :display_name => deleted_trace_file.user.display_name, :id => 0 }, { :user => deleted_trace_file.user }
+ get :data, { :display_name => create(:user).display_name, :id => 0 }, { :user => deleted_trace_file.user }