spec/lib/epp-eis/session_spec.rb in epp-eis-1.0.0 vs spec/lib/epp-eis/session_spec.rb in epp-eis-1.0.1
- old
+ new
@@ -5,10 +5,10 @@
@server = Epp::Server.new(:server => '127.0.0.1', :tag => 'username', :password => 'password')
end
context 'when response is successful' do
before(:each) do
- @server.stub(:request).and_return(xml_mock('responses/session/hello.xml'))
+ @server.stub(:send_request).and_return(xml_mock('responses/session/hello.xml'))
@response = @server.hello
end
it 'returns version number' do
@response.version.should == '1.0'