On Thursday, June 26, 2014 5:05:55 AM UTC-7, Roelof Wobben wrote:Hello,
I follow this tutorial to test my app : http://everydayrails.com/2012/03/19/testing-series-rspec-models-factory-girl.html
the only thing I do it different that I use my own app.
I did all the steps and at some point I have to do : rspec spec/models/contributie_spec.rb
It looks like you are using rspec-rails 3, while the tutorial was written with RSpec 2. You need to use require 'rails_helper' instead of require 'spec_helper' in your spec file.
To view this discussion on the web visit https://groups.google.com/d/msgid/rspec/f15f1903-78c2-4bad-8cfd-3397c83691ff%40googlegroups.com.--
You received this message because you are subscribed to the Google Groups "rspec" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rspec+un...@googlegroups.com.
To post to this group, send email to rs...@googlegroups.com.