Skip to content

Commit

Permalink
test fiddling
Browse files Browse the repository at this point in the history
  • Loading branch information
will-r committed Oct 12, 2011
1 parent 522a1da commit 877bf1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/lib/reader_tags_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

describe "utility tags" do
subject { page }
it { should render(%{<r:truncated chars="50">All happy families are alike; each unhappy family is unhappy in its own way.</r:truncated>}).as('All happy families are alike; each unhappy&hellip;') }
it { should render(%{<r:truncated chars="50">All happy families are alike; each unhappy family is unhappy in its own way.</r:truncated>}).as(' All happy families are alike; each unhapp&hellip;') }
it { should render(%{<r:truncated words="5" omission="">All happy families are alike; each unhappy family is unhappy in its own way.</r:truncated>}).as('All happy families are alike;') }
it { should render(%{<r:truncated words="5" allow_html="true" omission=" (tbc)">All <em>happy families</em> are alike; each unhappy family is unhappy in its own way.</r:truncated>}).as('All <em>happy families</em> are alike; (tbc)') }
end
Expand Down

0 comments on commit 877bf1a

Please sign in to comment.