spec/bogus/instance_methods_spec.rb in bogus-0.1.0 vs spec/bogus/instance_methods_spec.rb in bogus-0.1.1
- old
+ new
@@ -14,10 +14,10 @@
end
let(:instance_methods) { InstanceMethods.new(SampleClass) }
it "lists the instance methods" do
- instance_methods.all.should == [:foo, :hello]
+ instance_methods.all.should =~ [:foo, :hello]
end
it "returns the instance methods by name" do
instance_methods.get(:foo).should ==
SampleClass.instance_method(:foo)