Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added form. Second step passing.

  • Loading branch information...
commit 74295fe85de47f9252fec4150a12c0b5fa83274f 1 parent 62e3f16
@ludo authored
View
5 app/views/messages/new.html.haml
@@ -1 +1,6 @@
%h1 New Message
+
+= form_for @message do |f|
+ %p
+ = f.label :body
+ = f.text_area :body
View
2  features/step_definitions/message_steps.rb
@@ -7,7 +7,7 @@
# When
When /^I enter a valid message$/ do
- fill_in("Message", :with => "Something I want to share")
+ fill_in("Body", :with => "Something I want to share")
end
# Then
Please sign in to comment.
Something went wrong with that request. Please try again.