Skip to content

Instantly share code, notes, and snippets.

@tundal45
Created November 11, 2013 17:42
Show Gist options
  • Save tundal45/7417172 to your computer and use it in GitHub Desktop.
Save tundal45/7417172 to your computer and use it in GitHub Desktop.
ExecJS::ProgramError in Jasmine_rails/spec_runner#index
Showing /../gems/jasmine-rails-0.4.9/app/views/layouts/jasmine_rails/spec_runner.html.erb where line #12 raised:
Error: Parse error on line 2: Unexpected '->'
(in ../spec/javascripts/dashboard_spec.coffee)
Extracted source (around line #12):
9: <body>
10: <div id="jasmine_content"></div>
11: <%= yield %>
12: <%= javascript_include_tag *jasmine_js_files %>
13: </body>
14: </html>
group :development, :test do
gem 'jasmine-rails'
end
describe "Dashboard", ->
it "works", ->
expect(true).toBeTruthy()
spec_files:
"**/*[Ss]pec.{js,coffee}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment