spec/integration/riak/node_spec.rb in riak-client-1.0.5 vs spec/integration/riak/node_spec.rb in riak-client-1.1.0

- old
+ new

@@ -1,10 +1,10 @@ require 'spec_helper' require 'riak/node' require 'yaml' -describe Riak::Node, :test_server => false, :slow => true do +describe Riak::Node, :test_server => false, :slow => true, :nodegen => true do let(:test_server_config){ YAML.load_file("spec/support/test_server.yml") } let(:node){ described_class.new(:root => ".ripplenode", :source => test_server_config['source']) } subject { node } after { node.stop if node.started? } after(:all) { node.destroy } @@ -171,10 +171,10 @@ console = subject.attach console.should be_kind_of(Riak::Node::Console) expect { console.command "ok." console.close - }.should_not raise_error + }.to_not raise_error end end context "running" do before { subject.create; subject.start; subject.stop }