Sha256: d4f69fedf951f150d3f3da45980a5f2814b7f56182f7b0f0fa2a5091a5238150

Contents?: true

Size: 598 Bytes

Versions: 21

Compression:

Stored size: 598 Bytes

Contents

require 'spec_helper'

module Cucumber::Ast
  describe OutlineTable do
    describe OutlineTable::ExampleRow do
      describe "a header row" do
        before(:each) do
          @row = OutlineTable::ExampleRow.new(
            double('table', :index => 0),
            [double('cell', :status= => nil)]
          )
        end

        it "should raise an error if you try to call #failed?" do
          @row.accept_plain double('visitor', :visit_table_cell => nil)
          lambda{ @row.failed? }.should raise_error(NoMethodError, /cannot pass or fail/)
        end
      end
    end
  end
end

Version data entries

21 entries across 19 versions & 2 rubygems

Version Path
honeybadger-2.4.0 vendor/gems/ruby/2.2.0/gems/cucumber-1.3.18/spec/cucumber/ast/outline_table_spec.rb
honeybadger-2.4.0 vendor/gems/ruby/2.1.0/gems/cucumber-1.3.16/spec/cucumber/ast/outline_table_spec.rb
honeybadger-2.4.0 vendor/gems/ruby/1.9.1/gems/cucumber-1.3.18/spec/cucumber/ast/outline_table_spec.rb
cucumber-1.3.20 spec/cucumber/ast/outline_table_spec.rb
cucumber-1.3.19 spec/cucumber/ast/outline_table_spec.rb
cucumber-1.3.18 spec/cucumber/ast/outline_table_spec.rb
cucumber-1.3.17 spec/cucumber/ast/outline_table_spec.rb
cucumber-1.3.16 spec/cucumber/ast/outline_table_spec.rb
cucumber-1.3.15 spec/cucumber/ast/outline_table_spec.rb
cucumber-1.3.14 spec/cucumber/ast/outline_table_spec.rb
cucumber-1.3.13 spec/cucumber/ast/outline_table_spec.rb
cucumber-1.3.12 spec/cucumber/ast/outline_table_spec.rb
cucumber-1.3.11 spec/cucumber/ast/outline_table_spec.rb
cucumber-1.3.10 spec/cucumber/ast/outline_table_spec.rb
cucumber-1.3.9 spec/cucumber/ast/outline_table_spec.rb
cucumber-1.3.8 spec/cucumber/ast/outline_table_spec.rb
cucumber-1.3.7 spec/cucumber/ast/outline_table_spec.rb
cucumber-1.3.6 spec/cucumber/ast/outline_table_spec.rb
cucumber-1.3.5 spec/cucumber/ast/outline_table_spec.rb
cucumber-1.3.4 spec/cucumber/ast/outline_table_spec.rb