Closed skbailey closed 9 years ago
The error message is telling you what to do -- remove the suite.javascripts directive
I have same problem, but I am using only suite.use_framework :jasmine, "2.0.0"
. It gives me the following error:
→ rake teaspoon
Starting the Teaspoon server...
Teaspoon running default suite at http://127.0.0.1:58558/teaspoon/default
TeaspoonError: Jasmine not found -- use `suite.use_framework :jasmine` and adjust or remove the `suite.javascripts` directive.
# teaspoon-jasmine.js:1158
# teaspoon-jasmine.js:1339
Execution halted.
If I change it to suite.use_framework :jasmine, "1.3.1"
everything works great.
That's the same fix I'm using for now, not sure why 2.0.0 doesn't work. I tried removing that directive but same issue.
I am having the same issue. Does Teaspoon work with Jasmine 2.0?
It does not.. there's a pull request I was working on that I haven't finished.
Might I humbly request that the current status be noted more prominently in the readme?
You may, but I a pull request to remove it from the available list would be more appreciated. I thought it would be easier than it is to add support, and decided I'd do it more iteratively -- and haven't had the time to finish it.
for the record, Jasmine 2 makes it impossible to do a few things, and I'll have to submit pull requests on that project to make it viable with teaspoon.
Pull request subitted
@jejacks0n, how is the PR for jasmine 2.0 support coming?
+1
:+1:
:+1: 2.0 support would be great!
:+1: @jejacks0n - thanks for taking this on! FYI - There are a lot of (misleading) references to Jasmine 2.0 in the generated teaspoon_env.rb
+1 :+1: How's this coming along?
:+1:
+1 :)
It's painful, but I'll try to get back into it sometime soon.
:+1: @jejacks0n Is there any way we could help?
:+1: @samu ^
closing this.. we may get to this before a 1.0 release.
Jasmine 2 support is in Teaspoon 1.0.
Thanks @mikepack, I saw that when I re-read and discovered that factories like gem 'teaspoon-jasmine
are now separate.
ruby 2.1.1 rails 4.1.0
created a brand new rails app:
installed the teaspoon:
updated teaspoon_env.js with:
and ensured all the files are precompiled via:
running rake teaspoon fails with:
when running the rails server on /teaspoon we get the same error.
The jasmine2.0.0 file is loaded correctly from the asset pipeline though.