-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Make test pass standalone #22268
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make test pass standalone #22268
Conversation
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.
Thank you!
e1b10c6
to
187684d
Compare
Not really sure why this error comes now
|
So I've finally got this to pass but unsure why those changes are needed as I am no xcode project setup expert. It would be great if someone with more knowledge there could have a look at it. The test that was failing and required the xcode project changes was introduced in 338f0a8 and wasn't building in that revision when ran standalone: |
@@ -1,4 +1,5 @@ | |||
describe Spaceship::Portal::ProvisioningProfileTemplate do | |||
before { Spaceship.login } |
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.
Huh, this is unexpected, but I trust you 😅
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.
@@ -1,10 +1,8 @@ | |||
require 'deliver/sync_screenshots' | |||
require 'fakefs/spec_helpers' | |||
require_relative 'deliver_constants' |
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.
Nice!
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.
Really great investigative work here. 🚀 it
Checklist
bundle exec rspec
from the root directory to see all new and existing tests passbundle exec rubocop -a
to ensure the code style is validci/circleci
builds in the "All checks have passed" section of my PR (connect CircleCI to GitHub if not)Motivation and Context
Some people's tests fail on their dev env.
Description
Testing Steps