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

Test results output twice #58

Closed
patrobinson opened this issue Feb 21, 2015 · 1 comment
Closed

Test results output twice #58

patrobinson opened this issue Feb 21, 2015 · 1 comment

Comments

@patrobinson
Copy link

When running rspec tests the results are outputted twice. Running in debug shows them as only being run once.

Adapter
Adapter
Port "9700"
Port "9700"

default_host 23:45:36$ /bin/sh -c netstat\ -tunl\ \|\ grep\ --\ :9700\\\
tcp 0 0 0.0.0.0:9700 0.0.0.0:* LISTEN

default_host executed in 0.04 seconds
should be listening on port 9700
should be listening on port 9700

The test that creates this looks like this:

describe 'Adapter' do
describe port('9700') do
it 'should be listening on port 9700' do should be_listening end
end
end

@patrobinson
Copy link
Author

Realised I was defining a custom rake task instead of using "rake beaker", which was executing the tests twice.

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

No branches or pull requests

1 participant