-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not change or generate README.md after running rspec #8629
Changes from 3 commits
4d19fdd
126cb53
edf4a84
8f0f698
07be685
4bc418c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,8 @@ | |
ENV['DOTENV'] = nil | ||
fastlane_folder = File.absolute_path('./fastlane/spec/fixtures/dotenvs/withFastfiles/parentonly/fastlane') | ||
allow(FastlaneCore::FastlaneFolder).to receive(:path).and_return(fastlane_folder) | ||
allow(FastlaneCore::Env).to receive(:truthy?).and_return(:default) | ||
allow(FastlaneCore::Env).to receive(:truthy?).with('FASTLANE_SKIP_DOCS').and_return(true) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we set this for all tests inside the spec_helper? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes 馃憤 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @KrauseFx Uhh, no after all. I tried to define these in spec_helper, and it had other problems to cause test failure. |
||
end | ||
|
||
describe ":trigger option handling" do | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is 3 duplication codes, so it is better to define helper in
fastlane_core/spec/spec_helper.rb
orfastlane/spec/spec_helper.rb
?