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

respond_to specs not actually testing? #2

Closed
LocoDelAssembly opened this issue Oct 3, 2013 · 1 comment
Closed

respond_to specs not actually testing? #2

LocoDelAssembly opened this issue Oct 3, 2013 · 1 comment
Labels
bug An existing function is broken.

Comments

@LocoDelAssembly
Copy link
Contributor

Hi,

Is anyone else having this problem? If I change any of the base method specs for NomenclaturalRank with the following code:

expect(respond_to(:no_way_this_method_can_exist)).to be_true

I get:

Finished in 5.96 seconds
231 examples, 0 failures, 103 pending
[Coveralls] Outside the Travis environment, not sending data.

If you are having the same problem there then we need to rectify all specs.

@LocoDelAssembly
Copy link
Contributor Author

Fixed by following the "expect(NomenclaturalRank).to respond_to(:method_name)" pattern.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An existing function is broken.
Projects
None yet
Development

No branches or pull requests

1 participant