Commit 89a43543e9c229c223ef4d3031e83dc35e3fd3c5

Authored by Dmitriy Zaporozhets
1 parent c08c776d

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,7 +19,7 @@ describe "Snippets" do
19 19
20 subject { page } 20 subject { page }
21 21
22 - it { should have_content(@snippet.title) } 22 + it { should have_content(@snippet.title[0..10]) }
23 it { should have_content(@snippet.project.name) } 23 it { should have_content(@snippet.project.name) }
24 it { should have_content(@snippet.author.name) } 24 it { should have_content(@snippet.author.name) }
25 25