jejacks0n / teaspoon

Teaspoon: Javascript test runner for Rails. Use Selenium, BrowserStack, or PhantomJS.
1.43k stars 243 forks source link

Teaspoon Hooks are called twice from setup #332

Closed arinhouck closed 9 years ago

arinhouck commented 9 years ago

Selenium (2.45.0 and 2.43.0 tested) Teaspoon (0.8.0 and 0.9.1 tested) Browsers tested (firefox, chrome) Ruby 2.2.0 Rails 4.1.0

I am only calling the hook once on setup of one test and I put a debugger right after that. It still puts the message in console twice.

If needed any other information let me know.

jejacks0n commented 9 years ago

Fixtures or hooks? Thanks for the detailed info.

arinhouck commented 9 years ago

Sorry meant, "Teaspoon.hook".

arinhouck commented 9 years ago

Did you have any feedback or suggestions?

mikepack commented 9 years ago

Fixed on master. Can you give it a try? Details on how to use master can be found here: https://github.com/modeset/teaspoon#status