take me home.'
+ get(:show, params: {id: project['uuid']}, session: session_for(:active))
+ assert_includes @response.body, 'First Header'
+ assert_includes @response.body, ' | Content Cell'
end
test "find a project and edit description to textile description with link to object" do
@@ -346,7 +355,7 @@ class ProjectsControllerTest < ActionController::TestCase
# uses 'Link to object' as a hyperlink for the object
found.description = '"Link to object":' + api_fixture('groups')['asubproject']['uuid']
found.save!
- get(:show, {id: project['uuid']}, session_for(:active))
+ get(:show, params: {id: project['uuid']}, session: session_for(:active))
# check that input was converted to textile, not staying as inputted
refute_includes @response.body,'"Link to object"'
@@ -355,7 +364,7 @@ class ProjectsControllerTest < ActionController::TestCase
test "project viewer can't see project sharing tab" do
project = api_fixture('groups')['aproject']
- get(:show, {id: project['uuid']}, session_for(:project_viewer))
+ get(:show, params: {id: project['uuid']}, session: session_for(:project_viewer))
refute_includes @response.body, ' |