Sha256: adf978d4608b7d32d8c7920373c6642fd075ac47c6d9703ec8fd6ae84d3d1fc4
Contents?: true
Size: 780 Bytes
Versions: 2
Compression:
Stored size: 780 Bytes
Contents
Given(/^I have an app that depends on a gem with license and version details$/) do @user = ::DSL::User.new @user.create_ruby_app @user.create_and_depend_on_gem('info_gem', license: 'MIT', version: '1.1.1') end Given(/^I have a dependencies\.txt file$/) do @user.app_path("doc").mkpath @user.app_path("doc/dependencies.txt").open('w+') { |file| file.puts("Legacy text file") } end Then(/^I should see those version and license details in the dependencies\.csv file$/) do expect(@user.app_path("doc/dependencies.csv").read).to include "info_gem, 1.1.1, MIT" end Then(/^I should see dependencies\.txt replaced by dependencies\.csv$/) do expect(@user.app_path("doc/dependencies.txt")).to_not be_exist expect(@user.app_path("doc/dependencies.csv")).to be_exist end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
license_finder-1.2 | features/step_definitions/report_csv_steps.rb |
license_finder-1.2-java | features/step_definitions/report_csv_steps.rb |