You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ git diff
diff --git a/spec/lib/twingly/url_spec.rb b/spec/lib/twingly/url_spec.rb
index 85c2903..d64efa8 100644
--- a/spec/lib/twingly/url_spec.rb+++ b/spec/lib/twingly/url_spec.rb@@ -197,6 +197,20 @@ describe Twingly::URL do
it { is_expected.to eq(expected) }
end
+ context "adds www if host is missing a subdomain" do+ let(:url) { "http://blogspot.com/" }+ let(:expected) { "http://www.blogspot.com/" }++ it { is_expected.to eq(expected) }+ end++ context "keeps www if host is missing a subdomain" do+ let(:url) { "http://www.blogspot.com/" }+ let(:expected) { "http://www.blogspot.com/" }++ it { is_expected.to eq(expected) }+ end+
context "does not add www if the host has a subdomain" do
let(:url) { "http://blog.twingly.com/" }
The text was updated successfully, but these errors were encountered:
Diff:
The text was updated successfully, but these errors were encountered: