spec/veritrans_config_spec.rb in veritrans-2.0.4 vs spec/veritrans_config_spec.rb in veritrans-2.1.0
- old
+ new
@@ -4,10 +4,10 @@
hide_const("Rails")
end
it "should set Veritras as self inside config block" do
Veritrans.config do
- self.should == Veritrans
+ self.should == Veritrans.instance
end
end
it "should have sandbox api_host by defualt" do
Veritrans.config.api_host.should == "https://api.sandbox.veritrans.co.id"