Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorPistos <github.pistos@purepistos.net>2011-11-02 07:35:21 +0400
committerPistos <github.pistos@purepistos.net>2011-11-02 07:35:21 +0400
commite912bf3edad31764a96ba22f19b93de7d1c8a9b0 (patch)
tree84187afa3ce8c13d527e6b091a1bf8efe4044c46 /spec
parenta61fd16a7796d8a480822199357dae4aa0e00a58 (diff)
Whitespace cleanup.
Diffstat (limited to 'spec')
-rw-r--r--spec/helpers/markdownify_helper_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/helpers/markdownify_helper_spec.rb b/spec/helpers/markdownify_helper_spec.rb
index ed73c7d1b..51c7704c7 100644
--- a/spec/helpers/markdownify_helper_spec.rb
+++ b/spec/helpers/markdownify_helper_spec.rb
@@ -9,7 +9,7 @@ describe MarkdownifyHelper do
describe "#markdownify" do
describe "not doing something dumb" do
it "strips out script tags" do
- markdownify("<script>alert('XSS is evil')</script>").should ==
+ markdownify("<script>alert('XSS is evil')</script>").should ==
"<p>alert(&#39;XSS is evil&#39;)</p>\n"
end
@@ -35,7 +35,7 @@ describe MarkdownifyHelper do
context 'when formatting status messages' do
it "should leave tags intact" do
- message = Factory.create(:status_message,
+ message = Factory.create(:status_message,
:author => alice.person,
:text => "I love #markdown")
formatted = markdownify(message)
@@ -43,7 +43,7 @@ describe MarkdownifyHelper do
end
it "should leave mentions intact" do
- message = Factory.create(:status_message,
+ message = Factory.create(:status_message,
:author => alice.person,
:text => "Hey @{Bob; #{bob.diaspora_handle}}!")
formatted = markdownify(message)
@@ -52,7 +52,7 @@ describe MarkdownifyHelper do
it "should leave mentions intact for real diaspora handles" do
new_person = Factory(:person, :diaspora_handle => 'maxwell@joindiaspora.com')
- message = Factory.create(:status_message,
+ message = Factory.create(:status_message,
:author => alice.person,
:text => "Hey @{maxwell@joindiaspora.com; #{new_person.diaspora_handle}}!")
formatted = markdownify(message)