OSDN Git Service

FIx wiki tests. Fixed margin for issues page
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Fri, 2 Aug 2013 09:15:30 +0000 (12:15 +0300)
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Fri, 2 Aug 2013 09:15:30 +0000 (12:15 +0300)
app/assets/stylesheets/gitlab_bootstrap/buttons.scss
app/assets/stylesheets/sections/issues.scss
features/steps/project/project_wiki.rb

index 503de3c..9eb32ca 100644 (file)
     @include linear-gradient(#fAfAfA, #f1f1f1);
   }
 
+  &.focus,
+  &:focus {
+    text-decoration: none;
+    @include box-shadow(inset 0 2px 4px rgba(0,0,0,.15));
+  }
+
   &.active,
   &:active {
     background-image: none;
     outline: 0;
+    text-decoration: none;
     @include box-shadow(inset 0 2px 4px rgba(0,0,0,.15));
   }
 
index 6ebb9b4..5b79b30 100644 (file)
@@ -44,7 +44,7 @@ input.check_all_issues {
   margin: 0;
   margin-right: 10px;
   position: relative;
-  top: 8px;
+  top: 10px;
   height: 22px;
 }
 
@@ -52,6 +52,10 @@ input.check_all_issues {
   .title {
     height: 40px;
   }
+
+  form {
+    margin: 0;
+  }
 }
 
 .btn.close_issue {
index 4c92d56..f0e62e0 100644 (file)
@@ -17,7 +17,7 @@ class ProjectWiki < Spinach::FeatureSteps
 
   Given 'I create the Wiki Home page' do
     fill_in "Content", with: '[link test](test)'
-    click_on "Save"
+    click_on "Create page"
   end
 
   Then 'I should see the newly created wiki page' do
@@ -43,7 +43,7 @@ class ProjectWiki < Spinach::FeatureSteps
 
   And 'I change the content' do
     fill_in "Content", with: 'Updated Wiki Content'
-    click_on "Save"
+    click_on "Save changes"
   end
 
   Then 'I should see the updated content' do