Skip to content

Commit 0f2d881

Browse files
committed
Merge branch 'master' into rails4
2 parents fbf9194 + de2d1e4 commit 0f2d881

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spec/features/smoke_spec.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,8 @@
240240
:from => offset + 1, :to => offset + collection_size
241241

242242
pagination_information = page.find('.pagination_information').native.to_s.gsub(nbsp,' ')
243-
pagination_information.should include(display_total_text.gsub(' ', ' '))
243+
display_total_text.gsub!(/&(#160|nbsp);/, ' ')
244+
pagination_information.should include(display_total_text)
244245
end
245246
end
246247
end

0 commit comments

Comments
 (0)