diff --git a/app/views/repositories/_form.html.erb b/app/views/repositories/_form.html.erb index d089f34..aecc74a 100644 --- a/app/views/repositories/_form.html.erb +++ b/app/views/repositories/_form.html.erb @@ -33,7 +33,6 @@
<%= f.label :configuration, class: 'control-label' %> <% configuration_list = KalibroGatekeeperClient::Entities::Configuration.all.map { |conf| [conf.name, conf.id] } %> - <% p configuration_list %> <%= f.select( :configuration_id, configuration_list, {class: 'form-control'} ) %>

diff --git a/features/repository/create.feature b/features/repository/create.feature index 31ec57c..3b3cf35 100644 --- a/features/repository/create.feature +++ b/features/repository/create.feature @@ -35,7 +35,7 @@ Scenario: repository creation blank validations Then I should see "Name can't be blank" And I should see "Address can't be blank" -@kalibro_restart @javascript @wip +@kalibro_restart @javascript Scenario: repository creation with name already taken Given I am a regular user And I am signed in @@ -49,6 +49,6 @@ Scenario: repository creation with name already taken And I set the select field "Type" as "GIT" And I fill the Address field with "https://github.com/mezuro/kalibro_gem.git" And I set the select field "Process Period" as "1 day" - And I set the select field "Configuration" as "Java" + And I set the select field "repository_configuration_id" as "Java" When I press the Save button Then I should see "There's already" \ No newline at end of file diff --git a/features/repository/show/date_select.feature b/features/repository/show/date_select.feature index 80aa751..f2b6eea 100644 --- a/features/repository/show/date_select.feature +++ b/features/repository/show/date_select.feature @@ -3,7 +3,7 @@ Feature: Date Select As a regular user I should be able to select a specific date - @kalibro_restart @javascript @wip + @kalibro_restart @javascript Scenario: With a specific date selected Given I have a sample project And I have a sample configuration with native metrics diff --git a/features/step_definitions/repository_steps.rb b/features/step_definitions/repository_steps.rb index 66bff00..fd38656 100644 --- a/features/step_definitions/repository_steps.rb +++ b/features/step_definitions/repository_steps.rb @@ -58,6 +58,7 @@ Given(/^I ask for the metric results of the given module result$/) do end Given(/^I see a sample metric's name$/) do + page.save_screenshot("/tmp/picture.png") page.should have_content(@metric_results.first.metric_configuration_snapshot.metric.name) end -- libgit2 0.21.2