Skip to content
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

Added rspec-mocks to the suite. #75

Merged
merged 1 commit into from Mar 17, 2018
Merged

Added rspec-mocks to the suite. #75

merged 1 commit into from Mar 17, 2018

Conversation

iliabylich
Copy link
Contributor

The test passes!
Also I've added a method fails_context that excludes the whole RSpec context from the suite. There's a case in rspec-mocks where before(:all) mocks a string (and throws an error). We can't filter it even by excluding all specs under that context. So this method marks the context as dangerous and later context simply doesn't do anything when handles it.

@iliabylich iliabylich requested a review from elia March 16, 2018 17:57
@iliabylich
Copy link
Contributor Author

CI is broken (as expected), but this specific test passes. We can filter other RSpec tests from other sub-suites later.

@elia elia merged commit 29b6c12 into elia/opal-master Mar 17, 2018
@elia elia deleted the add-rspec-mocks branch March 17, 2018 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants