Sha256: 2dfbc27670abf316833716d2ac1c6ea1699ef21d6b99154188a4f5afa5bf3781
Contents?: true
Size: 664 Bytes
Versions: 1
Compression:
Stored size: 664 Bytes
Contents
require 'spec_helper' # This is more of an integration test, but makes sure the rspec API is working. # Expect results to all be pending, because there's no implementors in this proj. describe 'Katas' do code_sample 'Hello World' do |execution_result| # You can make assertions about the process using the Mixlib::ShellOut API expect(execution_result.process.stdout).to include 'Hello, world!' expect(execution_result.process.stderr).to be_empty expect(execution_result.process.exitstatus).to eq(0) end code_sample 'Quine' do |execution_result| expect(execution_result.process.stdout).to eq File.read(execution_result.source) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
polytrix-0.0.1 | spec/rspec_spec.rb |