features/step_definitions/page_steps.rb in shakespeare-0.1.1 vs features/step_definitions/page_steps.rb in shakespeare-0.2.0
- old
+ new
@@ -1,7 +1,7 @@
-Given /^a page titled "([^\"]*)"$/ do |title|
- Page.make(:title => title)
-end
-
-Given /^page "([^\"]*)" has content "([^\"]*)"$/ do |title, content|
- Page.find_by_title(title).update_attribute(:content, content)
+Given /^a page titled "([^\"]*)"$/ do |title|
+ Page.make(:title => title)
+end
+
+Given /^page "([^\"]*)" has content "([^\"]*)"$/ do |title, content|
+ Page.find_by_title(title).update_attribute(:content, content)
end
\ No newline at end of file