spec/platform/ronin_spec.rb in ronin-0.2.3 vs spec/platform/ronin_spec.rb in ronin-0.2.4
- old
+ new
@@ -19,16 +19,16 @@
it "should raise NameError when accessing missing extensions" do
lambda { Ronin::Nothing }.should raise_error(NameError)
end
it "should provide transparent access to extensions via methods" do
- ext = Ronin.hello
+ ext = hello
ext.should_not be_nil
ext.name.should == 'hello'
ext.greatings.should == 'hello'
end
it "should raise NoMethodError when accessing missing extensions" do
- lambda { Ronin.nothing }.should raise_error(NoMethodError)
+ lambda { self.nothing }.should raise_error(NoMethodError)
end
end