Sha256: d28ea35ac6146d11fd267c36bf637a7152893bb623d6c26df4513e7604bf0747

Contents?: true

Size: 330 Bytes

Versions: 6

Compression:

Stored size: 330 Bytes

Contents

Then /^the report file "(.*)" should have (\d+) total, (\d+) failures?, (no|yes) console usage$/ do |file, total, failures, console_usage|
  report = Jasmine::Headless::Report.load(file)

  report.total.should == total.to_i
  report.failed.should == failures.to_i
  report.has_used_console?.should == (console_usage == 'yes')
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
jasmine-headless-webkit-firstbanco-0.9.0.rc.5 features/steps/then/reporting/report_should_have.rb
jasmine-headless-webkit-firstbanco-0.9.0.rc.4 features/steps/then/reporting/report_should_have.rb
jasmine-headless-webkit-firstbanco-0.9.0.rc.3 features/steps/then/reporting/report_should_have.rb
jasmine-headless-webkit-firstbanco-0.9.0.rc.2 features/steps/then/reporting/report_should_have.rb
jasmine-headless-webkit-0.9.0.rc.2 features/steps/then/reporting/report_should_have.rb
jasmine-headless-webkit-0.9.0.rc1 features/steps/then/reporting/report_should_have.rb