Sha256: 28f0ee00a223dd7c02104a9b73dc22353bb3e2d65f74fd2a6d4f5480528f0f99
Contents?: true
Size: 496 Bytes
Versions: 3
Compression:
Stored size: 496 Bytes
Contents
module Polytrix describe ChallengeRunner do subject(:runner) { ChallengeRunner.create_runner } let(:implementor) { Fabricate(:implementor) } let(:challenge) do Fabricate(:challenge, name: 'factorial', source_file: 'spec/fixtures/factorial.py', basedir: 'spec/fixtures', implementor: implementor) end describe '#run_challenge' do it 'executes a challenge' do expect(runner.run_challenge challenge).to be_an_instance_of Result end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
polytrix-0.1.2 | spec/polytrix/challenge_runner_spec.rb |
polytrix-0.1.1 | spec/polytrix/challenge_runner_spec.rb |
polytrix-0.1.0 | spec/polytrix/challenge_runner_spec.rb |