spec/castronaut/configuration_spec.rb in relevance-castronaut-0.3.5 vs spec/castronaut/configuration_spec.rb in relevance-castronaut-0.3.6

- old
+ new

@@ -148,18 +148,18 @@ Castronaut::Configuration.load(@test_config_file) end describe "when there are no tables on the adapter db" do - it "notifies the user on STDERR" do + xit "notifies the user on STDERR" do Castronaut::Adapters::RestfulAuthentication::User.stub!(:establish_connection) Castronaut::Adapters::RestfulAuthentication::User.connection.stub!(:tables).and_return([]) Kernel.stub!(:exit) STDERR.should_receive(:puts) Castronaut::Configuration.load(@test_config_file) end - it "does a system exit(0)" do + xit "does a system exit(0)" do Castronaut::Adapters::RestfulAuthentication::User.stub!(:establish_connection) Castronaut::Adapters::RestfulAuthentication::User.connection.stub!(:tables).and_return([]) Kernel.should_receive(:exit).with(0) STDERR.stub!(:puts) Castronaut::Configuration.load(@test_config_file)