spec/engine/buildable_spec.rb in ronin-1.0.0.pre3 vs spec/engine/buildable_spec.rb in ronin-1.0.0.pre4
- old
+ new
@@ -18,11 +18,11 @@
it "should include Verifiable" do
subject.class.included_modules.should include(Engine::Verifiable)
end
- describe "build!" do
+ describe "#build!" do
it "should call the build block" do
subject.build!
subject.output.should == "hello world"
end
@@ -39,10 +39,10 @@
subject.output.should == "hello dave"
subject.var.should == 'dave'
end
end
- describe "verify!" do
+ describe "#verify!" do
it "should raise a NotBuilt exception when verifying unbuilt engines" do
lambda {
subject.verify!
}.should raise_error(Engine::NotBuilt)
end