Sha256: 824f0199fd176d9ed7d02ba83e9caed9bf26bc2c487054cadd268f96f4446772
Contents?: true
Size: 682 Bytes
Versions: 2
Compression:
Stored size: 682 Bytes
Contents
require File.dirname(__FILE__) + '/../../spec_helper' module Cucumber module Tree describe RowScenario do describe "pending?" do before :each do @scenario = Scenario.new(nil, '', 1) @row_scenario = RowScenario.new(mock('feature'), @scenario, [], 1) end it "should return true if the template scenario has no steps" do @row_scenario.should be_pending end it "should return false if the template scenario has no steps" do @scenario.create_step('Given', 'a long step', 1) @row_scenario.should_not be_pending end end end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
aslakhellesoy-cucumber-0.1.9 | spec/cucumber/tree/row_scenario_spec.rb |
cucumber-0.1.9 | spec/cucumber/tree/row_scenario_spec.rb |