Commit 6316f10805992905d263e8c217bc15a2446eeea2
1 parent
c3cd29f7
Exists in
colab
and in
4 other branches
Reviewing PR #204
signed off by: Rafael Reggiani Manzo <rr.manzo@gmail.com>
Showing
4 changed files
with
5 additions
and
12 deletions
Show diff stats
app/views/tutorials/analyzing.pt.html.erb
| ... | ... | @@ -30,10 +30,10 @@ A fim de criar um projeto, você deve: |
| 30 | 30 | |
| 31 | 31 | <ol> |
| 32 | 32 | <li>A partir da página do projeto, clique em "Novo Repositório"</li> |
| 33 | - <li>Preencha o formulário, garantindo que: | |
| 33 | + <li>Preencha o formulário: | |
| 34 | 34 | <ul> |
| 35 | - <li>O "Nome" seja único</li> | |
| 36 | - <li> Você deve escolher uma "Licença" Open Source na plataforma de acordo com o seu código</li> | |
| 35 | + <li>O "Nome" deve ser único</li> | |
| 36 | + <li>Você deve escolher uma "Licença" Open Source na plataforma de acordo com o seu código</li> | |
| 37 | 37 | <li>O campo "Tipo" está relacionado com a ferramenta de controle de versão do código (Git, por exemplo)</li> |
| 38 | 38 | <li>Preencha o "Endereço" com a URL a partir da qual podemos fazer o download do código</li> |
| 39 | 39 | <li>Se você quiser analisar seu projeto periodicamente, configure-o (você pode também executá-lo a partir da interface sempre que quiser)</li> | ... | ... |
features/step_definitions/repository_steps.rb
| ... | ... | @@ -114,7 +114,6 @@ When(/^I wait up for the ajax request$/) do |
| 114 | 114 | end |
| 115 | 115 | |
| 116 | 116 | When(/^I get the Creation Date information as "(.*?)"$/) do |variable| |
| 117 | - p page.find('p', text: 'Creation Date').text.match(/^Creation Date:(.*)$/).captures | |
| 118 | 117 | val = page.find('p', text: 'Creation Date').text.match(/^Creation Date:(.*)$/).captures.first |
| 119 | 118 | eval ("@#{variable} = DateTime.parse('#{val}')") |
| 120 | 119 | end |
| ... | ... | @@ -172,10 +171,5 @@ end |
| 172 | 171 | Then(/^"(.*?)" should be lesser than "(.*?)"$/) do |arg1, arg2| |
| 173 | 172 | v1 = eval "@#{arg1}" |
| 174 | 173 | v2 = eval "@#{arg2}" |
| 175 | - | |
| 176 | - p v1 | |
| 177 | - p v2 | |
| 178 | - | |
| 179 | 174 | expect(v1 < v2).to be_truthy |
| 180 | 175 | end |
| 181 | - | ... | ... |
features/users/user_update.feature
spec/helpers/application_helper_spec.rb
| ... | ... | @@ -9,7 +9,7 @@ describe ApplicationHelper, :type => :helper do |
| 9 | 9 | let!(:translation) { "translated test" } |
| 10 | 10 | |
| 11 | 11 | before :each do |
| 12 | - helper.expects(:t).with("activemodel.hints.#{helper.controller_name}.#{attribute_key}").returns(translation) | |
| 12 | + helper.expects(:t).with("activemodel.hints.#{helper.controller_name}.#{attribute_key}", {}).returns(translation) | |
| 13 | 13 | end |
| 14 | 14 | |
| 15 | 15 | it 'is expected to return the hint for the given attribute' do |
| ... | ... | @@ -23,4 +23,4 @@ describe ApplicationHelper, :type => :helper do |
| 23 | 23 | end |
| 24 | 24 | end |
| 25 | 25 | end |
| 26 | -end | |
| 27 | 26 | \ No newline at end of file |
| 27 | +end | ... | ... |