Sha256: f720770948c47d3886cf555ae5ec367b84d36de7650bf5f713074673b872bdf9
Contents?: true
Size: 895 Bytes
Versions: 19
Compression:
Stored size: 895 Bytes
Contents
require File.dirname(__FILE__) + '/../../spec_helper' require 'cucumber/formatter/progress' module Cucumber module Formatter describe Progress do before(:each) do Term::ANSIColor.coloring = false @out = StringIO.new @progress = Progress.new(mock("step mother"), @out, {}) end describe "visiting a table cell value without a status" do it "should take the status from the last run step" do @progress.visit_step_result('', '', nil, :failed, nil, 10, nil) @progress.visit_table_cell_value('value', nil) @out.string.should == "FF" end end describe "visiting a table cell which is a table header" do it "should not output anything" do @progress.visit_table_cell_value('value', :skipped_param) @out.string.should == "" end end end end end
Version data entries
19 entries across 19 versions & 5 rubygems