jejacks0n / teaspoon

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

Hook to run ruby script before tests start #483

Closed ZackMattor closed 8 years ago

ZackMattor commented 8 years ago

Is there a way to hook into teaspoon and run a ruby script before the jasmine tests execute? I want to generate some fixtures with ruby. Currently i'm doing it a hacky way in teaspoon_env.rb... but it gets called in rspec tests, etc.

jejacks0n commented 8 years ago

https://github.com/modeset/teaspoon#hooks

jejacks0n commented 8 years ago

Hey man, got the email notification for the comment you added and came here to check it out.. Looks like it's gone, so hopefully that means you got things working.