Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

removed unnecessary assertions

  • Loading branch information...
commit 59223953565b7748515c741db39ff0bf6b838d3e 1 parent 565aef0
Dmitriy Kalinin and Mark Rushakoff authored
Showing with 1 addition and 6 deletions.
  1. +1 −0  lib/harness/app.rb
  2. +0 −6 spec/apps/node_spec.rb
1  lib/harness/app.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
6 spec/apps/node_spec.rb
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
Please sign in to comment.
Something went wrong with that request. Please try again.