spec/trema/dsl/vhost_spec.rb in trema-0.3.3 vs spec/trema/dsl/vhost_spec.rb in trema-0.3.4

- old
+ new

@@ -94,12 +94,10 @@ end context "when promisc INVALID_VALUE" do specify do - lambda do - @vhost.promisc "INVALID_VALUE" - end.should raise_error( Trema::DSL::SyntaxError ) + expect { @vhost.promisc "INVALID_VALUE" }.to raise_error( Trema::DSL::SyntaxError ) end end end