Displaying 4 results from an estimated 4 matches for "sidu".
Did you mean:
side
2011 Sep 09
3
Missing Content-Length header breaks ActiveResource 3.1 on create
...stigating, but one thing that is clear is that the API
response doesn''t have a Content-Length header and this causes
AResource to break; the fact that this only happens on the prod server
seems to point at the fault probably lying with Apache.
Has anyone run into a similar issue?
Thanks,
Sidu Ponnappa.
http://c42.in
http://blog.sidu.in
[1] http://is.gd/c5wsjk
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com.
To unsubscribe from this group, send ema...
2011 Sep 07
4
rspec testing inheritance
Hello,
Is there any way to test model inheritance in spec?
something like..
it { ChildModel.should < ParentModel }
thanks.
2011 Aug 02
1
Rspec teting API.
Hi!
Guys, I wanna test an API built in Rails 3.0.3.
So, my question is... What''s the better way to test my own api?
I guess that a requests specs like these:
describe ''POST /client''
it ''works'' do
assert_difference post ''/clients'', :client => {...}
end
end
can be appropriate...
Someone just tested an API? I mean... simulate
2011 Sep 13
12
Assertions for asynchronous behaviour
Hi all,
In GOOS[1] they use an assertion called assertEventually which samples the system for a success state until a certain timeout has elapsed. This allows you to synchronise the tests with asynchronous code.
Do we have an equivalent of that in the Ruby / RSpec world already? I know capybara has wait_until { } but that''s fairly rudimentary - the failure message isn''t very