Mike Shea
2013-02-01 20:40:17 UTC
Hi folks,
I'm writing some rspec tests using Fog.mock! and AWS DNS, and I've run into
this:
Fog::Errors::MockNotImplemented: Contributions welcome!
/Users/michael.shea/.rvm/gems/ruby-1.9.3-p194/gems/fog-1.8.0/lib/fog/core/mock.rb:34:in
`not_implemented'
/Users/michael.shea/.rvm/gems/ruby-1.9.3-p194/gems/fog-1.8.0/lib/fog/core/service.rb:111:in
`list_resource_record_sets'
/Users/michael.shea/.rvm/gems/ruby-1.9.3-p194/gems/fog-1.8.0/lib/fog/aws/models/dns/records.rb:31:in
`all'
/Users/michael.shea/.rvm/gems/ruby-1.9.3-p194/gems/fog-1.8.0/lib/fog/core/collection.rb:130:in
`lazy_load'
/Users/michael.shea/.rvm/gems/ruby-1.9.3-p194/gems/fog-1.8.0/lib/fog/core/collection.rb:18:in
`each'
I would like to help fix it, but I just want to make sure that I'm not
redoing something that has already been done, or missing something :). It
looks to me like I need to implement
Fog::DNS::AWS::Mock.list_resource_record_sets. I've already written an
implementation that is good enough for my own use cases, but I'm sure that
it will not cover everything (I'm only using it to test that some CNAME
records my program creates did, in fact, get created).
So - unless somebody here lets me know that I'm on the wrong track entirely
or that this work is already done, I'm going to fork fog and get to work.
I'm using fog-1.8.0
Thanks!
Mike Shea.
I'm writing some rspec tests using Fog.mock! and AWS DNS, and I've run into
this:
Fog::Errors::MockNotImplemented: Contributions welcome!
/Users/michael.shea/.rvm/gems/ruby-1.9.3-p194/gems/fog-1.8.0/lib/fog/core/mock.rb:34:in
`not_implemented'
/Users/michael.shea/.rvm/gems/ruby-1.9.3-p194/gems/fog-1.8.0/lib/fog/core/service.rb:111:in
`list_resource_record_sets'
/Users/michael.shea/.rvm/gems/ruby-1.9.3-p194/gems/fog-1.8.0/lib/fog/aws/models/dns/records.rb:31:in
`all'
/Users/michael.shea/.rvm/gems/ruby-1.9.3-p194/gems/fog-1.8.0/lib/fog/core/collection.rb:130:in
`lazy_load'
/Users/michael.shea/.rvm/gems/ruby-1.9.3-p194/gems/fog-1.8.0/lib/fog/core/collection.rb:18:in
`each'
I would like to help fix it, but I just want to make sure that I'm not
redoing something that has already been done, or missing something :). It
looks to me like I need to implement
Fog::DNS::AWS::Mock.list_resource_record_sets. I've already written an
implementation that is good enough for my own use cases, but I'm sure that
it will not cover everything (I'm only using it to test that some CNAME
records my program creates did, in fact, get created).
So - unless somebody here lets me know that I'm on the wrong track entirely
or that this work is already done, I'm going to fork fog and get to work.
I'm using fog-1.8.0
Thanks!
Mike Shea.
--
You received this message because you are subscribed to the Google Groups "ruby-fog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-fog+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "ruby-fog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-fog+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.