Sha256: 7757801590a146bb29d39288dbcb75626274f068e22338cee3b9d2152ead1d84
Contents?: true
Size: 464 Bytes
Versions: 16
Compression:
Stored size: 464 Bytes
Contents
require 'spec_helper' describe Jasmine::Formatters::ExitCode do subject(:formatter) { Jasmine::Formatters::ExitCode.new } it 'is successful with an overall status of "passed"' do formatter.done({ 'overallStatus' => 'passed' }) expect(formatter).to be_succeeded end it 'is successful with any other overall status' do formatter.done({ 'overallStatus' => 'incomplete' }) expect(formatter).not_to be_succeeded end end
Version data entries
16 entries across 16 versions & 1 rubygems