Skip to content

Commit e64138d

Browse files
authored
Bump Ruby development execution environment (#2994)
Updated Ruby execution environment in development to remove Docker V1 support requirement. Relates to #2993
1 parent b375e1a commit e64138d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

db/seeds/files/exercise_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
require './exercise'
44

5-
describe '#write_to_file' do
5+
describe '#copy_file' do
66
before(:each) do
77
@file_content = File.new(SOURCE_FILENAME, 'r').read
8-
write_to_file
8+
copy_file
99
end
1010

1111
it 'preserves the source file' do

spec/factories/execution_environment.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,10 @@
109109
created_by_teacher
110110
default_memory_limit
111111
default_cpu_limit
112-
docker_image { 'hklement/ubuntu-ruby:latest' }
112+
docker_image { 'openhpi/co_execenv_ruby:2.5' }
113113
file_type { association :dot_rb, user: }
114114
help
115-
name { 'Ruby 2.2' }
115+
name { 'Ruby 2.5' }
116116
network_enabled { false }
117117
privileged_execution { false }
118118
permitted_execution_time { 10.seconds }

0 commit comments

Comments
 (0)