spec/lib/gendered/guesser_spec.rb in gendered-0.0.5 vs spec/lib/gendered/guesser_spec.rb in gendered-0.0.7
- old
+ new
@@ -17,10 +17,10 @@
guesser = Guesser.new(names, 'us')
expect(guesser.country_id).to eq 'us'
end
it "creates the correct url" do
- expect(subject.url).to eq "http://api.genderize.io/?name[0]=Sean&name[1]=Theresa"
+ expect(subject.url).to eq "https://api.genderize.io/?name[0]=Sean&name[1]=Theresa"
end
it "cannot be initialized with an empty array" do
expect{described_class.new([])}.to raise_error ArgumentError
end