jlindley-rbling 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/lib/rbling.rb +1 -1
- data/spec/rbling_spec.rb +2 -2
- metadata +1 -1
data/VERSION.yml
CHANGED
data/lib/rbling.rb
CHANGED
data/spec/rbling_spec.rb
CHANGED
@@ -97,12 +97,12 @@ describe Rbling do
|
|
97
97
|
|
98
98
|
it "should convert single line breaks into html line breaks" do
|
99
99
|
"This is two lines.\nSeperated by a single line break.".rbling_to_html.
|
100
|
-
should == "This is two lines
|
100
|
+
should == "This is two lines. <br/>Seperated by a single line break."
|
101
101
|
end
|
102
102
|
|
103
103
|
it "should convert double line breaks to double html breaks" do
|
104
104
|
"This is two lines.\n\nSeparated by two line breaks.".rbling_to_html.
|
105
|
-
should == "This is two lines
|
105
|
+
should == "This is two lines. <br/> <br/>Separated by two line breaks."
|
106
106
|
end
|
107
107
|
|
108
108
|
end
|