Skip to content

Commit

Permalink
Merge branch 'live-in-same-timeline-with-everyone' of github.com:mame…
Browse files Browse the repository at this point in the history
…bro/mameblo into live-in-same-timeline-with-everyone
  • Loading branch information
kurotaky committed May 22, 2014
2 parents 96e74f3 + 1ce7148 commit 85e3a8e
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
10 changes: 6 additions & 4 deletions app/assets/stylesheets/timelines.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
@import 'import';

.nav-pills {
@include box-sizing(border-box);
width: 100%;
margin-bottom: $gap*2;
height: 44px;
margin-bottom: $gap;
display: table;
background: #eee;
border: 1px solid $orange;
Expand All @@ -15,11 +17,11 @@
vertical-align: center;
display: table-cell;
a {
height: 3em;
height: 44px;
display: block;
color: $orange;
font-size: $px14;
line-height: 3em;
font-size: $px13;
line-height: 44px;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/_nav.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
%i.iconbutton<>
&#128246;
%span<>
兄弟
近況
%li.nav.nav-entries
= link_to current_brother, class: 'nav-label' do
%i.iconbutton<>
Expand Down
4 changes: 2 additions & 2 deletions app/views/timelines/_navs.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
%ul{class: "nav-pill-wrapper current-#{current_page}"}
%li.nav-pill.nav-pill-index
%a{href: '/'}
みんな
ブラザー
%li.nav-pill.nav-pill-brothers
%a{href:'/timelines/brothers'}
%a{href: '/timelines/brothers'}
兄弟
2 changes: 1 addition & 1 deletion spec/features/brothers_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
end

scenario 'ブラザーの一覧が表示されること' do
is_expected.to have_content('兄弟')
is_expected.to have_content('近況')
is_expected.to have_content brother.name
is_expected.to have_content @brother.name
end
Expand Down
2 changes: 1 addition & 1 deletion spec/features/timelines_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
sign_in brother
end

scenario { is_expected.to have_content('兄弟') }
scenario { is_expected.to have_content('近況') }
scenario { is_expected.to have_content('みんな') }
scenario { is_expected.to have_content('設定') }
scenario { is_expected.to have_selector('.field #entry-form-title', 'タイトル') }
Expand Down

0 comments on commit 85e3a8e

Please sign in to comment.