Sha256: e1c10f6884171d670aa8d0114ee06ec3d1c5a4a97024d4294707d893d8255673

Contents?: true

Size: 567 Bytes

Versions: 7

Compression:

Stored size: 567 Bytes

Contents

require 'cucumber/core/ast/location'
require 'cucumber/core/ast/empty_multiline_argument'

module Cucumber
  module Core
    module Ast
      describe EmptyMultilineArgument do

        let(:location) { double }
        let(:arg) { EmptyMultilineArgument.new }

        describe "#data_table?" do
          it "returns false" do
            expect(arg).not_to be_data_table
          end
        end

        describe "#doc_string" do
          it "returns false" do
            expect(arg).not_to be_doc_string
          end
        end

      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
cucumber-core-1.5.0 spec/cucumber/core/ast/empty_multiline_argument_spec.rb
cucumber-core-1.4.0 spec/cucumber/core/ast/empty_multiline_argument_spec.rb
cucumber-core-1.3.1 spec/cucumber/core/ast/empty_multiline_argument_spec.rb
cucumber-core-1.3.0 spec/cucumber/core/ast/empty_multiline_argument_spec.rb
cucumber-core-1.2.0 spec/cucumber/core/ast/empty_multiline_argument_spec.rb
cucumber-core-1.1.3 spec/cucumber/core/ast/empty_multiline_argument_spec.rb
cucumber-core-1.1.2 spec/cucumber/core/ast/empty_multiline_argument_spec.rb