Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Changed forms not to show field building #5

Open
wants to merge 2 commits into from

2 participants

This page is out of date. Refresh to see the latest.
View
2  app/views/projects/edit.html.haml
@@ -1,3 +1,3 @@
- semantic_form_for @project do |form|
- = form.inputs
+ = form.inputs :name, :url, :email, :branch, :deploy_command, :build_command
= form.buttons
View
2  app/views/projects/new.html.haml
@@ -1,3 +1,3 @@
- semantic_form_for @project do |form|
- = form.inputs
+ = form.inputs :name, :url, :email, :branch, :deploy_command, :build_command
= form.buttons
View
2  app/views/shared/_projects.haml
@@ -1,2 +1,2 @@
-- for project in @projects do
+- @projects.each do |project|
= link_to render(:partial => "shared/project_status", :locals => {:project => project}), project_path(project)
View
4 features/manage_project.feature
@@ -2,6 +2,8 @@ Feature: Manage projects
Scenario: Register new project
Given I am on the new projects page
+ Then I should not see /Building/
+
When I fill in "project_name" with "Geni"
And I fill in "project_url" with "git://fake"
And I fill in "project_email" with "fake@too.com"
@@ -12,6 +14,8 @@ Feature: Manage projects
Scenario: Update a project
Given I have a project
And I am on the edit project page
+ Then I should not see /Building/
+
When I fill in "project_name" with "Bluepump"
When I fill in "project_url" with "gitFake"
And I press "Save Project"
Something went wrong with that request. Please try again.