spec/unit/ioc_spec.rb in spank-0.0.1369197619 vs spec/unit/ioc_spec.rb in spank-0.0.1385937112
- old
+ new
@@ -1,10 +1,10 @@
require "spec_helper"
describe Spank::IOC do
context "when bound to a container" do
- let(:container) { fake }
- let(:component) { fake }
+ let(:container) { double }
+ let(:component) { double }
before :each do
container.stub(:resolve).with(:idbconnection).and_return(component)
Spank::IOC.bind_to(container)
end