merge_requests restyle with forms
This commit is contained in:
parent
3a50b6cac9
commit
6f32ccf432
6 changed files with 130 additions and 73 deletions
|
@ -42,8 +42,8 @@ describe "MergeRequests" do
|
|||
|
||||
it { should have_content(@merge_request.title) }
|
||||
it "Show page should inform user that merge request closed" do
|
||||
within ".merge-request-show-holder h3" do
|
||||
page.should have_content "Closed"
|
||||
within ".merge-tabs" do
|
||||
page.should have_content "Reopen"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -62,7 +62,7 @@ describe "MergeRequests" do
|
|||
it { current_path.should == project_merge_request_path(project, project.merge_requests.last) }
|
||||
|
||||
it "should create merge request" do
|
||||
page.should have_content "Open"
|
||||
page.should have_content "Close"
|
||||
page.should have_content @user.name
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue