samples/polytrix.rb in polytrix-0.1.2 vs samples/polytrix.rb in polytrix-0.1.3

- old
+ new

@@ -1,11 +1,11 @@ require 'polytrix' -Polytrix.validate 'Hello world validator', suite: 'Katas', sample: 'hello world' do |challenge| +Polytrix.validate 'Hello world validator', suite: 'Katas', scenario: 'hello world' do |challenge| expect(challenge.result.stdout).to eq "Hello, world!\n" end -Polytrix.validate 'Quine output matches source code', suite: 'Katas', sample: 'quine' do |challenge| +Polytrix.validate 'Quine output matches source code', suite: 'Katas', scenario: 'quine' do |challenge| expect(challenge.result.stdout).to eq(challenge.source) end Polytrix.validate 'default validator' do |challenge| expect(challenge.result.exitstatus).to eq(0)