Sha256: 12dc78eb9ce08c1f6a881cfdca197b7bcaf273ae80c0f55f98d682d69b5948e2

Contents?: true

Size: 296 Bytes

Versions: 1

Compression:

Stored size: 296 Bytes

Contents

module AllureCucumber
  module DSL

    def attach_file(title, file)
      @tracker = AllureCucumber::FeatureTracker.tracker
      AllureRubyApi::Builder.add_attachment(@tracker.feature_name, @tracker.scenario_name, :step => @tracker.step_name, :file => file, :title => title)
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
allure-cucumber-0.2.1 lib/allure-cucumber/dsl.rb