Skip to content

Commit

Permalink
Split extremely long line over multiple lines
Browse files Browse the repository at this point in the history
I feel this test can be written in another way,
but I didn't want to change functionality in this branch
  • Loading branch information
markijbema committed Aug 9, 2013
1 parent b87653a commit ffeeb17
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion spec/lib/onebox/preview/amazon_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,14 @@

it "returns the product description" do
amazon = described_class.new(response("amazon.response"), link)
expect(amazon.to_html).to include("Using only the finest natural materials and ecologically sound manufacturing processes, Japanese designer Eisaku Noro has been producing some of the most extraordinary and popular yarns in the world for over 30 years. Hand colored in vivid combinations of painterly hues, Noro yarns are as striking to behold as they are easy to work with. This follow-up to Knit Noro features 32 small projects knitters can complete in a weekend, including Leg Warmers, Cabled Mittens, a Lace Flap Hat, and even an iPad cover.")
expect(amazon.to_html).to include("Using only the finest natural materials and ecologically sound " +
"manufacturing processes, Japanese designer Eisaku Noro has been " +
"producing some of the most extraordinary and popular yarns in the " +
"world for over 30 years. Hand colored in vivid combinations of " +
"painterly hues, Noro yarns are as striking to behold as they are " +
"easy to work with. This follow-up to Knit Noro features 32 small " +
"projects knitters can complete in a weekend, including Leg Warmers, " +
"Cabled Mittens, a Lace Flap Hat, and even an iPad cover.")
end

it "returns the product price" do
Expand Down

0 comments on commit ffeeb17

Please sign in to comment.