lib/allure-cucumber/dsl.rb in allure-cucumber-0.2.1 vs lib/allure-cucumber/dsl.rb in allure-cucumber-0.4.0

- old
+ new

@@ -1,10 +1,10 @@ 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) + AllureRubyAdaptorApi::Builder.add_attachment(@tracker.feature_name, @tracker.scenario_name, :step => @tracker.step_name, :file => file, :title => title) end end end