Skip to content

Commit

Permalink
short urls
Browse files Browse the repository at this point in the history
  • Loading branch information
terrywbrady committed Apr 5, 2024
1 parent 39f3d76 commit 736b0f9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# All rights reserved
#*********************************************************************

FROM ruby:3
FROM public.ecr.aws/docker/library/ruby:3

RUN apt-get update -y && \
apt-get -y upgrade && \
Expand Down
9 changes: 9 additions & 0 deletions spec/test/demo_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,15 @@
end
end

it 'Verify short urls' do
@session.visit '/docs'
expect(@session.current_url).to eq('https://github.com/CDLUC3/mrt-doc/blob/main/README.md')
@session.visit '/wiki'
expect(@session.current_url).to eq('https://github.com/CDLUC3/mrt-doc/wiki')
@session.visit '/presentations'
expect(@session.current_url).to eq('https://github.com/CDLUC3/mrt-doc/blob/main/presentations/README.md')
end

describe 'Verify that a semantic version string is accessible in the Merritt UI footer' do
it 'Print footer' do
@session.visit '/'
Expand Down

0 comments on commit 736b0f9

Please sign in to comment.