File tree Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change 1
1
require 'spec_helper'
2
2
3
3
describe Fastlane ::Actions ::AndroidUpdateReleaseNotesAction do
4
- after do
5
- ENV [ 'PROJECT_ROOT_FOLDER' ] = nil
6
- end
7
-
8
4
let ( :new_section ) do
9
5
<<~CONTENT
10
6
1.1
34
30
it 'adds a new section on RELEASE-NOTES.txt' do
35
31
in_tmp_dir do |tmp_dir |
36
32
# Arrange
37
- ENV [ 'PROJECT_ROOT_FOLDER' ] = tmp_dir
38
33
release_notes_txt = File . join ( tmp_dir , 'RELEASE-NOTES.txt' )
39
34
File . write ( release_notes_txt , content )
40
35
51
46
it 'adds a new section on the given file' do
52
47
in_tmp_dir do |tmp_dir |
53
48
# Arrange
54
- ENV [ 'PROJECT_ROOT_FOLDER' ] = tmp_dir
55
49
changelog_md = File . join ( tmp_dir , 'CHANGELOG.md' )
56
50
File . write ( changelog_md , content )
57
51
Original file line number Diff line number Diff line change 1
1
require 'spec_helper'
2
2
3
3
describe Fastlane ::Actions ::IosUpdateReleaseNotesAction do
4
- after do
5
- ENV [ 'PROJECT_ROOT_FOLDER' ] = nil
6
- end
7
-
8
4
let ( :new_section ) do
9
5
<<~CONTENT
10
6
1.1
34
30
it 'adds a new section on RELEASE-NOTES.txt' do
35
31
in_tmp_dir do |tmp_dir |
36
32
# Arrange
37
- ENV [ 'PROJECT_ROOT_FOLDER' ] = tmp_dir
38
33
release_notes_txt = File . join ( tmp_dir , 'RELEASE-NOTES.txt' )
39
34
File . write ( release_notes_txt , content )
40
35
51
46
it 'adds a new section on the given file' do
52
47
in_tmp_dir do |tmp_dir |
53
48
# Arrange
54
- ENV [ 'PROJECT_ROOT_FOLDER' ] = tmp_dir
55
49
changelog_md = File . join ( tmp_dir , 'CHANGELOG.md' )
56
50
File . write ( changelog_md , content )
57
51
You can’t perform that action at this time.
0 commit comments