You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A lot of apologies. It's totally my fault.
I was playing around with barista specifications, and manually changed coffee-script dependency to version to 2.2.0.
Hi, Darcy
I have very simple rails app:
# Gemfile
source 'http://rubygems.org'
gem 'rails', '3.0.5'
gem 'sqlite3'
gem 'therubyracer', :require => false
gem 'barista'
gem 'rspec'
gem 'rspec-rails'
gem 'webrat'
gem 'capybara'
Set up for rspec-rails and barista:
$ rails generate rspec:install
$ rails generate barista:install
Generate User scaffold and migrate db:
$ rails generate scaffold user name:string
$ rake db:migrate
I have app/coffeescripts/application.coffee with just one line:
# app/coffeescripts/application.coffee
echo "hello"
When I'm trying to run
$ rspec spec/requests/users_spec.rb
I get
NameError: uninitialized constant CoffeeScript::Engines
F
Could you please suggest what to do to make rpsec work with barista.
Appreciate your help.
The text was updated successfully, but these errors were encountered: