Commit d8fc0c3b authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

fix tests. improve ui-box title

parent a41875d2
...@@ -86,9 +86,9 @@ ...@@ -86,9 +86,9 @@
color: #456; color: #456;
font-size: 16px; font-size: 16px;
text-shadow: 0 1px 1px #fff; text-shadow: 0 1px 1px #fff;
padding: 10px; padding: 0 10px;
font-size: 14px; font-size: 14px;
line-height: 20px; line-height: 40px;
font-weight: normal; font-weight: normal;
margin: 0; margin: 0;
...@@ -102,8 +102,7 @@ ...@@ -102,8 +102,7 @@
} }
.btn { .btn {
position: relative; vertical-align: middle;
margin-top: -2px;
} }
.nav-pills { .nav-pills {
......
...@@ -10,9 +10,6 @@ ...@@ -10,9 +10,6 @@
margin: 0px; margin: 0px;
box-shadow: none; box-shadow: none;
.title .btn {
margin: 0;
}
.nav-projects-tabs li { padding: 0; } .nav-projects-tabs li { padding: 0; }
} }
} }
...@@ -33,7 +30,7 @@ ...@@ -33,7 +30,7 @@
.dashboard { .dashboard {
.dash-filter { .dash-filter {
margin: 0; margin: 7px 0;
padding: 4px 6px; padding: 4px 6px;
width: 202px; width: 202px;
float: left; float: left;
......
...@@ -48,7 +48,7 @@ class ProjectBrowseCommits < Spinach::FeatureSteps ...@@ -48,7 +48,7 @@ class ProjectBrowseCommits < Spinach::FeatureSteps
page.should have_selector('ul.breadcrumb span.divider', count: 3) page.should have_selector('ul.breadcrumb span.divider', count: 3)
page.should have_selector('ul.breadcrumb a', count: 4) page.should have_selector('ul.breadcrumb a', count: 4)
find('ul.breadcrumb li:first a')['href'].should match(/#{@project.path_with_namespace}\/commits\/master\z/) find('ul.breadcrumb li:nth-child(2) a')['href'].should match(/#{@project.path_with_namespace}\/commits\/master\z/)
find('ul.breadcrumb li:last a')['href'].should match(%r{master/app/models/project\.rb\z}) find('ul.breadcrumb li:last a')['href'].should match(%r{master/app/models/project\.rb\z})
end end
......
...@@ -42,7 +42,7 @@ class ProjectSnippets < Spinach::FeatureSteps ...@@ -42,7 +42,7 @@ class ProjectSnippets < Spinach::FeatureSteps
end end
And 'I click link "Edit"' do And 'I click link "Edit"' do
within ".file_title" do within ".file-title" do
click_link "Edit" click_link "Edit"
end end
end end
......
...@@ -13,7 +13,7 @@ class SnippetsFeature < Spinach::FeatureSteps ...@@ -13,7 +13,7 @@ class SnippetsFeature < Spinach::FeatureSteps
end end
And 'I click link "Edit"' do And 'I click link "Edit"' do
within ".file_title" do within ".file-title" do
click_link "Edit" click_link "Edit"
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment