Sha256: ae8a769530b4e9911ca1dae42b01fd1c4453e95715a1142ffac42514d4b0c261

Contents?: true

Size: 597 Bytes

Versions: 3

Compression:

Stored size: 597 Bytes

Contents

# frozen_string_literal: true
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

3 entries across 3 versions & 1 rubygems

Version Path
cucumber-core-3.0.0 spec/cucumber/core/ast/empty_multiline_argument_spec.rb
cucumber-core-3.0.0.pre.2 spec/cucumber/core/ast/empty_multiline_argument_spec.rb
cucumber-core-2.0.0 spec/cucumber/core/ast/empty_multiline_argument_spec.rb