Commit 89a43543e9c229c223ef4d3031e83dc35e3fd3c5
1 parent
c08c776d
Exists in
master
and in
4 other branches
fixed broken test bor truncated title
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
spec/requests/snippets_spec.rb
... | ... | @@ -19,7 +19,7 @@ describe "Snippets" do |
19 | 19 | |
20 | 20 | subject { page } |
21 | 21 | |
22 | - it { should have_content(@snippet.title) } | |
22 | + it { should have_content(@snippet.title[0..10]) } | |
23 | 23 | it { should have_content(@snippet.project.name) } |
24 | 24 | it { should have_content(@snippet.author.name) } |
25 | 25 | ... | ... |