Questions tagged [rake-test]
50 questions
0
votes
0 answers
"ActionController::RoutingError: No route matches" errors in Unit Tests
I'm running the unit integration tests on my Continous Integration server. I'm getting errors for 3 of them with the same format, here an example for the test…

Mr_LinDowsMac
- 2,644
- 9
- 56
- 75
0
votes
0 answers
ActiveRecord::StatementInvalid: Mysql2::Error: Unknown column
I'm trying to run unit and integrations test using TeamCity.
Already configured a step which runs rake test (that include by default test load, purge etc). But all my unit tests fails with this:
ActiveRecord::StatementInvalid: Mysql2::Error: Unknown…

Mr_LinDowsMac
- 2,644
- 9
- 56
- 75
0
votes
1 answer
warning: method redefined; discarding old decode_www_form and errors
I have forked the ruby gem sprockets and tried to run rake test. I have the following output and really don't know where to begin. Any pointers as to why I am missing the encode method would be very helpful!
$ bundle exec rake
(in…

Michael
- 3,568
- 3
- 37
- 50
0
votes
1 answer
Stub repeated method calls for rake test
For my project I use rake test for testing my libs. For example, I've got a method, like connection.users.add_users(options)
json_response = check_users(options)
batch = nil
Timeout::timeout(30) do
begin
sleep 1
batch =…

Andrey Eremin
- 287
- 1
- 4
- 14
-1
votes
1 answer
El Capitan Ruby binaries installation issue
Just trying to get through some parts of the Hartl rails tutorial to familiarize myself with the rails framework. I have homebrew installed (removed and reinstalled it because it giving me trouble after using El Capitan), and got a fresh version of…

karan satia
- 307
- 4
- 16