Sha256: 373138d93d13492a65dab7e4d7a33cd7d53f855db749a68c9205575c73faee32

Contents?: true

Size: 421 Bytes

Versions: 1

Compression:

Stored size: 421 Bytes

Contents

module Polytrix
  describe ChallengeRunner do
    subject(:runner) { ChallengeRunner.createRunner }
    let(:challenge) do
      Challenge.new :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.0.1 spec/polytrix/challenge_runner_spec.rb