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

Fixing deprecated tests, non-quiet Ladle causing test failures #5

Merged
merged 1 commit into from Sep 2, 2015
Merged

Fixing deprecated tests, non-quiet Ladle causing test failures #5

merged 1 commit into from Sep 2, 2015

Conversation

escowles
Copy link
Contributor

@escowles escowles commented Sep 1, 2015

  • Using expect() syntax
  • Adding "quiet" parameter to Ladle config to fix test failures

end

it "should return a list of groups owned by quentin" do
attrs = {
:cn => 'TR',
:cn => 'TrueRomance',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's this change for?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line fails for me unless I make that change: https://github.com/escowles/hydra-ldap/blob/fix-tests/spec/integration/ldap_spec.rb#L87

As-is, I get ["PulpFiction',"TR"] instead of the expected ["PulpFiction","TrueRomance"]

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Weird. How did that ever pass? Well, no matter, 👍 to this change!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I read the test a couple of times wondering if I was missing something -- maybe it never passed? On that score, I can add a .travis.yml file as long as I'm adding a new commit to fix your other comment.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Go for it! Thanks, Esme.

@escowles
Copy link
Contributor Author

escowles commented Sep 2, 2015

I haven't been able to reproduce the Travis error on my machine or on fresh Ubuntu VMs (tried 12.04 and 14.04).

@mjgiarlo
Copy link
Member

mjgiarlo commented Sep 2, 2015

You've got me, @escowles, but I'm inclined to :shipit: (thinking that the error is something Travis-y and not worth tracking down at the moment)

mjgiarlo added a commit that referenced this pull request Sep 2, 2015
Fixing deprecated tests, non-quiet Ladle causing test failures
@mjgiarlo mjgiarlo merged commit 7a099d3 into samvera-labs:master Sep 2, 2015
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