spec/pagseguro/pagseguro_spec.rb in pagseguro-0.1.11 vs spec/pagseguro/pagseguro_spec.rb in pagseguro-0.1.12
- old
+ new
@@ -32,10 +32,10 @@
PagSeguro.gateway_url.should == "/pagseguro_developer"
end
it "should return real url if developer mode is disabled" do
PagSeguro.should_receive(:developer?).and_return(false)
- PagSeguro.gateway_url.should == "https://pagseguro.uol.com.br/pagseguro-ws/checkout/NPI.jhtml"
+ PagSeguro.gateway_url.should == "https://pagseguro.uol.com.br/checkout/checkout.jhtml"
end
it "should read configuration developer mode" do
PagSeguro.stub :config => {"developer" => true}
PagSeguro.should be_developer
\ No newline at end of file