spec/bacon/unit/isolator_spec.rb in caricature-0.7.2 vs spec/bacon/unit/isolator_spec.rb in caricature-0.7.5
- old
+ new
@@ -66,11 +66,11 @@
end
end
end
-describe "Caricature::RecordingClrProxy" do
+describe "Caricature::ClrIsolator" do
describe "for an instance of a CLR class" do
before do
@ninja = ClrModels::Ninja.new
@@ -170,15 +170,15 @@
res = Caricature::ClrInterfaceIsolator.for Caricature::IsolatorContext.new(ClrModels::IExposing)
@proxy = res.isolation
end
it "should create an add method for the event" do
- @proxy.should.respond_to?(:add_is_exposed_changed)
+ @proxy.should.respond_to?(:add_OnIsExposedChanged)
end
it "should create a remove method for the event" do
- @proxy.should.respond_to?(:remove_is_exposed_changed)
+ @proxy.should.respond_to?(:remove_OnIsExposedChanged)
end
end
describe "for CLR interface recursion" do
@@ -199,14 +199,14 @@
it "should create a method defined on one of the topmost composing interfaces" do
@proxy.should.respond_to?(:is_killed_by)
end
it "should create an add method for an event defined on a composing interface" do
- @proxy.should.respond_to?(:add_is_exposed_changed)
+ @proxy.should.respond_to?(:add_OnIsExposedChanged)
end
it "should create a remove method for an event defined on a composing interface" do
- @proxy.should.respond_to?(:remove_is_exposed_changed)
+ @proxy.should.respond_to?(:remove_OnIsExposedChanged)
end
it "should create a getter for a property on the proxy" do
@proxy.should.respond_to?(:id)
end
\ No newline at end of file