Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jammjammjamm authored and Nicole Kennedy committed Aug 9, 2019
1 parent d97bc7b commit b284c08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/instance_page_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def setup
follow_redirect! while last_response.status == 302
assert last_response.ok?
@instance_path = last_request.url
instance_id = @instance_path.split('/').last(2).first # second to last
instance_id = @instance_path.split('/').last(3).first # third to last
@instance = Inferno::Models::TestingInstance.get(instance_id)
assert !@instance.nil?, "No instance id #{instance_id}"
end
Expand Down

0 comments on commit b284c08

Please sign in to comment.