2012-08-10 16 views

答えて

29

$rails c test 
>require "./spec/spec_helper" 
true 
>source = double('source') 
NoMethodError: undefined method `double' for main:Object 
0

はこれを試してみてください。

+1

これは "rails c test"と同等ですが、私は信じていますか? – Emil

+1

残念ながら:http://stackoverflow.com/questions/7668167/rails-console-test-loading-development-environment – Ch4rAss

関連する問題