Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added form. Second step passing.

  • Loading branch information...
commit 74295fe85de47f9252fec4150a12c0b5fa83274f 1 parent 62e3f16
Ludo van den Boom authored
5 app/views/messages/new.html.haml
... ... @@ -1 +1,6 @@
1 1 %h1 New Message
  2 +
  3 += form_for @message do |f|
  4 + %p
  5 + = f.label :body
  6 + = f.text_area :body
2  features/step_definitions/message_steps.rb
@@ -7,7 +7,7 @@
7 7 # When
8 8
9 9 When /^I enter a valid message$/ do
10   - fill_in("Message", :with => "Something I want to share")
  10 + fill_in("Body", :with => "Something I want to share")
11 11 end
12 12
13 13 # Then

0 comments on commit 74295fe

Please sign in to comment.
Something went wrong with that request. Please try again.