Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removing whitespace

  • Loading branch information...
commit 632b871d4ee5b936e698fb301f0fd9c8a24f4fd9 1 parent 211b7fc
@edmore authored
Showing with 3 additions and 4 deletions.
  1. +0 −1  peekaboo.rb
  2. +2 −2 spec/peekaboo_spec.rb
  3. +1 −1  views/push.haml
View
1  peekaboo.rb
@@ -3,7 +3,6 @@
require 'redis'
set :haml, :format => :html5
-
redis = Redis.new
get "/" do
View
4 spec/peekaboo_spec.rb
@@ -22,7 +22,7 @@ def setup
visit("/")
page.should have_content("Peekaboo I see you")
end
-
+
scenario "should link to push page" do
visit("/")
click_link("Push")
@@ -43,7 +43,7 @@ def setup
click_button("Push")
page.should have_css("p.notice", :text => "Successfully added.")
end
-
+
scenario "should error if text field empty" do
visit("/push")
fill_in('question', :with => "")
View
2  views/push.haml
@@ -11,4 +11,4 @@
%label{:for => "question"} Question:
%input{:type => "text", :name => "question", :class => "text", :size => 50}
- %input{:type => "submit", :value => "Push"}
+ %input{:type => "submit", :value => "Push"}
Please sign in to comment.
Something went wrong with that request. Please try again.