Open kirs opened 11 years ago
Try adding -Itest
to your spin command to add the test directory to the load path.
be spin serve -Itest
be spin push test/
Loading ["test"]
/Users/kir/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in `require': cannot load such file -- /Users/kir/Projects/projectname/test/ (LoadError)
But actually, test
directory exists and there are a lot of tests :)
When I run rake minispec
everything is ok.
My
test/minitest_helper.rb
:The test (
test/models/user_test.rb
)Spin output:
I use Rails 3.2.11 and spin 0.6