mirror of
				https://github.com/cmur2/dyndnsd.git
				synced 2025-10-31 00:25:06 +01:00 
			
		
		
		
	More test
This commit is contained in:
		| @@ -129,4 +129,11 @@ describe Dyndnsd::Daemon do | ||||
|     last_response.should be_ok | ||||
|     last_response.body.should == "nochg 1.2.3.4\ngood 1.2.3.4" | ||||
|   end | ||||
|    | ||||
|   it 'uses clients remote address if myip not specified' do | ||||
|     authorize 'test', 'secret' | ||||
|     get '/nic/update?hostname=foo.example.org' | ||||
|     last_response.should be_ok | ||||
|     last_response.body.should == 'good 127.0.0.1' | ||||
|   end | ||||
| end | ||||
|   | ||||
		Reference in New Issue
	
	Block a user