Permalink
Browse files

removed unnecessary assertions

  • Loading branch information...
1 parent 565aef0 commit 59223953565b7748515c741db39ff0bf6b838d3e Dmitriy Kalinin and Mark Rushakoff committed Mar 25, 2013
Showing with 1 addition and 6 deletions.
  1. +1 −0 lib/harness/app.rb
  2. +0 −6 spec/apps/node_spec.rb
View
@@ -148,6 +148,7 @@ def stats
@log.error "Application: #{@app.name} does not exist!"
raise RuntimeError, "Application: #{@app.name} does not exist!"
end
+
begin
@log.info("Display application: #{@app.name} status")
@app.stats
View
@@ -16,24 +16,18 @@
it "access my application root and see it's running version" do
app = create_push_app("app_node_version04")
app.stats.should_not == nil
- app.get_response(:get).should_not == nil
- app.get_response(:get).to_str.should_not == nil
app.get_response(:get).to_str.should =~ /running version/
end
it "access my application root and see hello from git" do
app = create_push_app("node_git_modules")
app.stats.should_not == nil
- app.get_response(:get).should_not == nil
- app.get_response(:get).to_str.should_not == nil
app.get_response(:get).to_str.should == "hello from git"
end
it "access my application root and see hello from express" do
app = create_push_app("app_node_dependencies06")
app.stats.should_not == nil
- app.get_response(:get).should_not == nil
- app.get_response(:get).to_str.should_not == nil
app.get_response(:get).to_str.should == "hello from express"
end

0 comments on commit 5922395

Please sign in to comment.