Sha256: 55b90649a6310b09b9e6ba77ee37063215a6e51549c713c1e5c7cee5f8603538

Contents?: true

Size: 423 Bytes

Versions: 1

Compression:

Stored size: 423 Bytes

Contents

module Polytrix
  describe ChallengeRunner do
    subject(:runner) { ChallengeRunner.create_runner }
    let(:challenge) do
      Fabricate(:challenge, name: 'factorial', source_file: 'spec/fixtures/factorial.py', basedir: 'spec/fixtures')
    end

    describe '#run_challenge' do
      it 'executes a challenge' do
        expect(runner.run_challenge challenge).to be_an_instance_of Challenge
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
polytrix-0.1.0.pre spec/polytrix/challenge_runner_spec.rb