features/edit_page.feature in activeadmin-0.4.4 vs features/edit_page.feature in activeadmin-0.5.0.pre
- old
+ new
@@ -35,11 +35,11 @@
f.input :body
end
f.inputs "Publishing" do
f.input :published_at
end
- f.buttons
+ f.actions
end
end
"""
Given I follow "Edit"
Then I should see a fieldset titled "Your Post"
@@ -62,11 +62,11 @@
f.input :body
end
f.inputs "Publishing" do
f.input :published_at
end
- f.buttons
+ f.actions
end
end
"""
Given I follow "New"
Then I follow "Posts"
@@ -85,10 +85,10 @@
Given "app/views/admin/posts/_form.html.erb" contains:
"""
<% url = @post.new_record? ? admin_posts_path : admin_post_path(@post) %>
<%= active_admin_form_for @post, :url => url do |f|
f.inputs :title, :body
- f.buttons
+ f.actions
end %>
"""
Given a configuration of:
"""
ActiveAdmin.register Post do