spec/linode/domain_spec.rb in linode-0.6.3 vs spec/linode/domain_spec.rb in linode-0.7.0

- old
+ new

@@ -37,9 +37,13 @@ it 'should return the result of the request' do @linode.expects(:send_request).returns(:bar => :baz) @linode.send(action.to_sym).should == { :bar => :baz } end + + it "should consider the documentation to live at http://www.linode.com/api/dns/domain.#{action}" do + @linode.documentation_path(Linode.action_path(@linode.class.name, action)).should == "http://www.linode.com/api/dns/domain.#{action}" + end end end it 'should be able to provide access to the Linode Domain Resource API' do @linode.should respond_to(:resource)