Skip to content
Snippets Groups Projects
Commit 211c06e4 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fix few test and notify for commit author

parent 6ddacaf9
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -68,7 +68,7 @@ class Notify < ActionMailer::Base
@commit = @note.noteable
@commit = CommitDecorator.decorate(@commit)
@project = @note.project
mail(to: recipient(commit_autor_email), subject: subject("note for commit #{@commit.short_id}", @commit.title))
mail(to: commit_autor_email, subject: subject("note for commit #{@commit.short_id}", @commit.title))
end
 
def note_issue_email(recipient_id, note_id)
Loading
Loading
Loading
Loading
@@ -14,6 +14,6 @@ class ProjectBrowseGitRepo < Spinach::FeatureSteps
Then 'I should see git file blame' do
page.should have_content "rubygems.org"
page.should have_content "Dmitriy Zaporozhets"
page.should have_content "bc3735004cb Moving to rails 3.2"
page.should have_content "Moving to rails 3.2"
end
end
Loading
Loading
@@ -2,6 +2,7 @@ module SharedNote
include Spinach::DSL
 
Given 'I delete a comment' do
sleep 1
first(".js-note-delete").trigger("click")
end
 
Loading
Loading
@@ -15,6 +16,7 @@ module SharedNote
within(".js-main-target-form") do
fill_in "note[note]", with: "XML attached"
click_button "Add Comment"
sleep 0.05
end
end
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment