At first they failed because it was looking for rsa_key.pub. I
supplied this, then it failed all tests because:
The exact error was:
OpenSSL::PKey::RSAError: Neither PUB key nor PRIV key:: nested asn1
error
on all tests.
What is wrong?
Thanks,
Paul
I'm a little surprised that you needed to supply an rsa_key.pub; the
repository should create a default key pair that should be sufficient
to get the application running. (Though of course you should
generate your own pair before launching a production site).
Does this error affect only the specs? What happens if you install
and launch the application in development mode with this:
$ rake db:sample_data:reload
$ script/server
Can you load the site at http://localhost:3000, and can you log in
with the default admin user (password: admin)?
Evan
Here are the first 4:
1)
NoMethodError in 'SearchesController Forum post searches should search
by post body'
You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.include?
./spec/models/../matchers/custom_model_matchers.rb:134:in `matches?'
./spec/controllers/searches_controller_spec.rb:148:
2)
NoMethodError in 'SearchesController Forum post searches should search
by topic name'
You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.include?
./spec/models/../matchers/custom_model_matchers.rb:134:in `matches?'
./spec/controllers/searches_controller_spec.rb:162:
3)
'SearchesController Forum post searches should render with a post div' FAILED
Expected at least 1 element matching "div[class='forum']", found 0.
<false> is not true.
./spec/controllers/searches_controller_spec.rb:167:
4)
'SearchesController Forum post searches should render with a topic link' FAILED
Expected at least 1 element matching
"a[href='/forums/953125641/topics/953125641#post_119261968']", found
0.
<false> is not true.
./spec/controllers/searches_controller_spec.rb:174:
Maybe rake spec needs the sample data before running?
Thanks,
Paul
> --
> You received this message because you are subscribed to the Google Groups "Insoshi" group.
> To post to this group, send email to ins...@googlegroups.com.
> To unsubscribe from this group, send email to insoshi+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/insoshi?hl=en.
>
>
Hmm... Interesting. It all seems to work now. Also, re-running rake
spec only give 16 errors instead of the usual (> 300).